From 04b08da9af0c450d645ab7389d1467308cfc2db8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 4 Mar 2013 21:27:36 +0100 Subject: Imported Upstream version 1.1~hg20130304 --- doc/install-source.html | 53 ++++++++++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 29 deletions(-) (limited to 'doc/install-source.html') diff --git a/doc/install-source.html b/doc/install-source.html index 87c187ba8..ee7b39b7e 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -57,8 +57,7 @@ architectures. arm (a.k.a. ARM); 5g,5l,5c,5a
- Supports only Linux binaries. Less widely used than the other ports and therefore - not as thoroughly tested. + Supports only Linux binaries. Less widely used than the other ports and therefore not as thoroughly tested.
@@ -81,25 +80,9 @@ The full set of supported combinations is listed in the discussion of

Install C tools, if needed

-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 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. -

- -

-On Windows, install 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:

$ hg clone -u release https://code.google.com/p/go + + +

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
+
+

Install Go

@@ -218,6 +213,12 @@ hello, world If you see the "hello, world" message then Go is installed correctly.

+

Set up your work environment

+ +

+The document How to Write Go Code explains how to +set up a work environment in which to build and test Go code. +

Community resources

@@ -241,8 +242,8 @@ Bugs can be reported using the Keeping up with releases

-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. -

-

Optional environment variables

-- cgit v1.2.3