1
0
mirror of https://github.com/golang/go synced 2024-09-23 21:30:18 -06:00

doc: clarify that any C compiler works for cgo

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>
This commit is contained in:
Brad Fitzpatrick 2016-09-09 01:30:49 +00:00
parent f782a7e075
commit 0ab6bb42e1

View File

@ -54,7 +54,7 @@ If your OS or architecture is not on the list, you may be able to
</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