]> Cypherpunks repositories - gostls13.git/commitdiff
doc: clarify that any C compiler works for cgo
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 9 Sep 2016 01:30:49 +0000 (01:30 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 9 Sep 2016 02:30:07 +0000 (02:30 +0000)
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>
doc/install.html

index cfe3e67a645965c72e624db385e19ff2d713e43d..01681f4d86a981c29281bcfb7ced00f2c774efbc 100644 (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