From d8630694db6b00782a9172ac6b88ec9fc8f7da3f Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Sun, 10 Feb 2013 17:39:13 -0500 Subject: [PATCH] doc: move os specific build instructions to wiki Fixes #4010. This proposal avoids cluttering the main install-source.html with OS specific instructions by linking to the wiki for details. See discussion in the comments. R=adg, minux.ma CC=golang-dev https://golang.org/cl/7241068 --- doc/install-source.html | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/doc/install-source.html b/doc/install-source.html index d356cdfc0a..ee7b39b7ec 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,31 +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 is bundled in the command line tools for -Xcode, -and you don't need to install the whole Xcode to compile Go. -If you have already installed Xcode 4.3+, you can install command -line tools from the Components tab of the Downloads preferences panel. -To verify you have a working compiler, just invoke gcc -in a freshly created Terminal window, unless you see the -"gcc: command not found" error, you are ready to go. -

- -

-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

-- 2.48.1