From 707c93f27e6be86fb8d0bf0daf4dcc2bf75b34b9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 8 Nov 2009 22:12:51 -0800 Subject: mention license in install.html. tighter nav list. R=r http://go/go-review/1024029 --- doc/install.html | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'doc/install.html') diff --git a/doc/install.html b/doc/install.html index c843a1cf2..2e7e0d667 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 -- cgit v1.2.3