Skip to content

Commit

Permalink
doc: clarify that any C compiler works for cgo
Browse files Browse the repository at this point in the history
Currently the footnote says "gcc is required only if you plan to use cgo",
but the footnote was referenced from the text:

   "use the clang or gcc† that comes with Xcode‡ for cgo support"

That seems to imply that clang doesn't get you cgo support on OS X,
which isn't true. The update text matches what the install-source.html
page says.

Change-Id: Ib88464a0d138227d357033123f6675a77d5d777f
Reviewed-on: https://go-review.googlesource.com/28786
Reviewed-by: Minux Ma <minux@golang.org>
  • Loading branch information
bradfitz committed Sep 9, 2016
1 parent f782a7e commit 0ab6bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2 id="requirements">System requirements</h2>
</table>

<p>
<sup>&#8224;</sup><code>gcc</code> is required only if you plan to use
<sup>&#8224;</sup>A C compiler is required only if you plan to use
<a href="/cmd/cgo">cgo</a>.<br/>
<sup>&#8225;</sup>You only need to install the command line tools for
<a href="http://developer.apple.com/Xcode/">Xcode</a>. If you have already
Expand Down

0 comments on commit 0ab6bb4

Please sign in to comment.