From 6fff7b23991c9502a5b58577c356046ade01d44f Mon Sep 17 00:00:00 2001
From: Russ Cox 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 Introduction
+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:$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:
$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
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
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 readinghello.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 {
--
2.48.1