]> Cypherpunks repositories - gostls13.git/commitdiff
install.html: add section on C tools
authorRobert Griesemer <gri@golang.org>
Thu, 11 Mar 2010 00:31:09 +0000 (16:31 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 11 Mar 2010 00:31:09 +0000 (16:31 -0800)
R=rsc
CC=golang-dev
https://golang.org/cl/238042

doc/install.html

index 7d00678758b9f5300c9c32e287da506dd3a7897c..87d4836d2feb83353f5f5f47baf3ed29c83eab3b 100644 (file)
@@ -174,6 +174,23 @@ See the separate <a href="gccgo_install.html"><code>gccgo</code> document</a>
 for details about that compiler and environment.
 </p>
 
+<h2>Install C tools, if needed</h2>
+
+<p>The Go tool chain is written in C.  To build it, you need
+to have GCC, the standard C libraries, the parser generator Bison,
+<tt>make</tt>, <tt>awk</tt>, and the text editor <tt>ed</tt> installed.  On OS X, they can be
+installed as part of
+<a href="http://developer.apple.com/TOOLS/Xcode/">Xcode</a>.  On Linux, use
+</p>
+
+<pre>
+$ sudo apt-get install bison gcc libc6-dev ed gawk make
+</pre>
+
+<p>
+(or the equivalent on your Linux distribution).
+</p>
+
 <h2>Fetch the repository</h2>
 
 <p>
@@ -198,21 +215,6 @@ $ hg clone -r release https://go.googlecode.com/hg/ $GOROOT
 
 <h2>Install Go</h2>
 
-<p>The Go tool chain is written in C.  To build it, you need
-to have GCC, the standard C libraries, the parser generator Bison,
-<tt>make</tt>, <tt>awk</tt>, and the text editor <tt>ed</tt> installed.  On OS X, they can be
-installed as part of
-<a href="http://developer.apple.com/TOOLS/Xcode/">Xcode</a>.  On Linux,
-</p>
-
-<pre>
-$ sudo apt-get install bison gcc libc6-dev ed gawk make
-</pre>
-
-<p>
-(or the equivalent on your Linux distribution).
-</p>
-
 <p>
 To build the Go distribution, run
 </p>