From 04b08da9af0c450d645ab7389d1467308cfc2db8 Mon Sep 17 00:00:00 2001
From: Michael Stapelberg
-The Go tool chain is written in C.
-To build it, you need a C compiler installed.
-
-On OS X, a C compiler can be installed as part of
-Xcode.
-
-On Ubuntu/Debian, use
-On Windows, install arm
(a.k.a. ARM
); 5g,5l,5c,5a
Install C tools, if needed
sudo apt-get install gcc libc6-dev
.
-If you want to build 32-bit binaries on a 64-bit system you'll also need the
-libc6-dev-i386
package.
-gcc
with
-MinGW.
-(Make sure you add its bin
subdirectory to your PATH
.)
+The Go tool chain is written in C. To build it, you need a C compiler installed.
+Please refer to the InstallFromSource
+page on the Go community Wiki for operating system specific instructions.
Install Mercurial, if needed
@@ -144,6 +127,18 @@ Then check out the repository:
If you intend to modify the go source code, and +contribute your changes +to the project, then move your repository +off the release branch, and onto the default (development) branch. +Otherwise, skip this step.
+ ++$ hg update default ++
@@ -218,6 +213,12 @@ hello, world If you see the "hello, world" message then Go is installed correctly.
++The document How to Write Go Code explains how to +set up a work environment in which to build and test Go code. +
-The Go project maintains two stable tags in its Mercurial repository:
-release
and weekly
.
+The Go project maintains a stable tag in its Mercurial repository:
+release
.
@@ -263,12 +264,6 @@ $ hg update release $ ./all.bash -
-The weekly
tag is updated about once a week, and should be used
-only by those who are actively working on the Go core.
-To use the weekly
tag run hg update weekly
instead.
-