diff --git a/doc/install.html b/doc/install.html index c843a1cf2a..2e7e0d667e 100644 --- a/doc/install.html +++ b/doc/install.html @@ -2,9 +2,15 @@

Introduction

+

Go is an open source project, distributed under a +BSD-style license. +This document explains how to check out the sources, +build them on your own machine, and run them. +

+

There are two distinct ways to experiment with Go. -This document explains how to check out, build, and use the gc Go +This document focuses on the gc Go compiler and tools (6g, 8g etc.). For information on how to use gccgo, a more traditional compiler using the GCC back end, see @@ -31,12 +37,12 @@ plus one optional variable:

The name of the target operating system and compilation architecture. Choices for $GOOS are linux, - darwin (Mac OS X 10.5 or 10.6), + darwin (Mac OS X 10.5 or 10.6), and nacl (Native Client, an incomplete port). Choices for $GOARCH are amd64 (64-bit x86, the most mature port), 386 (32-bit x86), and arm (32-bit ARM, an incomplete port). - The valid combinations are + The valid combinations are linux/amd64, linux/arm, linux/386, @@ -51,7 +57,7 @@ plus one optional variable:

The location where binaries will be installed. - If you set $GOBIN, you need to ensure that it + If you set $GOBIN, you need to ensure that it is in your $PATH so that newly built Go-specific command such as the compiler can be found during the build. The default, $HOME/bin, may already be in your $PATH. @@ -98,10 +104,10 @@ architectures.
386 (a.k.a. x86 or x86-32); 8g,8l,8c,8a
-
+
Comparable to the amd64 port. Not as well soaked but should be nearly as solid. - +
arm (a.k.a. ARM); 5g,5l,5c,5a @@ -149,7 +155,7 @@ $ hg clone http://r45/ $GOROOT

Install Go

You need to have the parser generator Bison installed. -It is installed as part of Xcode on OS X. +It is installed as part of Xcode on OS X. If you need it on Linux,

@@ -250,7 +256,7 @@ The linker learns about them by reading hello.6.

To build more complicated programs, you will probably -want to use a +want to use a Makefile. There are examples in places like $GOROOT/src/cmd/godoc/Makefile diff --git a/doc/style.css b/doc/style.css index 85cdbd247c..235d4da879 100644 --- a/doc/style.css +++ b/doc/style.css @@ -132,11 +132,13 @@ div#linkList ul { div#linkList li { margin-left: 1em; + padding-bottom: 0.2em; } div#linkList li.navhead { font-weight: bold; margin-left: 0px; + padding-bottom: 0.25em; } #nav dl {