diff --git a/doc/install.html b/doc/install.html index 7d00678758b..87d4836d2fe 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