From dd0b8e7975e6965008f377d1194c80bf33fc995a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 25 Aug 2011 16:53:54 -0400 Subject: [PATCH] doc: emphasize that environment variables are optional Also update $GOARM description. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4972041 --- doc/install.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/install.html b/doc/install.html index a1bc8998245..21a66366b6d 100644 --- a/doc/install.html +++ b/doc/install.html @@ -331,11 +331,11 @@ there is another mailing list, Environment variables +

Optional environment variables

The Go compilation environment can be customized by environment variables. -None are required by the build, but you may wish to set them +None are required by the build, but you may wish to set them to override the defaults.

@@ -442,10 +442,9 @@ to override the defaults.
The ARM architecture version the run-time libraries should target. - ARMv6 cores have more efficient synchronization primitives. Setting - $GOARM to 5 will compile the run-time libraries using - just SWP instructions that work on older architectures as well. - Running v6 code on an older core will cause an illegal instruction trap. + Setting $GOARM to 5 causes the linker to emit calls + to a software floating point implementation instead of using + hardware floating point support.
@@ -469,6 +468,6 @@ something like this:
 export GOROOT=$HOME/go
-export GOARCH=386
+export GOARCH=amd64
 export GOOS=linux