From 7cd4de6a0791237760001fccdc3ca85290dc27d4 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 10 Mar 2010 16:31:09 -0800 Subject: [PATCH] install.html: add section on C tools R=rsc CC=golang-dev https://golang.org/cl/238042 --- doc/install.html | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) 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