From: Robert Griesemer Date: Thu, 11 Mar 2010 00:31:09 +0000 (-0800) Subject: install.html: add section on C tools X-Git-Tag: weekly.2010-03-15~14 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7cd4de6a0791237760001fccdc3ca85290dc27d4;p=gostls13.git install.html: add section on C tools R=rsc CC=golang-dev https://golang.org/cl/238042 --- diff --git a/doc/install.html b/doc/install.html index 7d00678758..87d4836d2f 100644 --- a/doc/install.html +++ b/doc/install.html @@ -174,6 +174,23 @@ See the separate gccgo document for details about that compiler and environment.

+

Install C tools, if needed

+ +

The Go tool chain is written in C. To build it, you need +to have GCC, the standard C libraries, the parser generator Bison, +make, awk, and the text editor ed installed. On OS X, they can be +installed as part of +Xcode. On Linux, use +

+ +
+$ sudo apt-get install bison gcc libc6-dev ed gawk make
+
+ +

+(or the equivalent on your Linux distribution). +

+

Fetch the repository

@@ -198,21 +215,6 @@ $ hg clone -r release https://go.googlecode.com/hg/ $GOROOT

Install Go

-

The Go tool chain is written in C. To build it, you need -to have GCC, the standard C libraries, the parser generator Bison, -make, awk, and the text editor ed installed. On OS X, they can be -installed as part of -Xcode. On Linux, -

- -
-$ sudo apt-get install bison gcc libc6-dev ed gawk make
-
- -

-(or the equivalent on your Linux distribution). -

-

To build the Go distribution, run