1
0
mirror of https://github.com/golang/go synced 2024-11-25 04:07:55 -07:00

doc: emphasize that environment variables are optional

Also update $GOARM description.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4972041
This commit is contained in:
Russ Cox 2011-08-25 16:53:54 -04:00
parent 987649e09b
commit dd0b8e7975

View File

@ -331,11 +331,11 @@ there is another mailing list, <a href="http://groups.google.com/group/golang-ch
that receives a message summarizing each checkin to the Go repository. that receives a message summarizing each checkin to the Go repository.
</p> </p>
<h2 id="environment">Environment variables</h2> <h2 id="environment">Optional environment variables</h2>
<p> <p>
The Go compilation environment can be customized by 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 <i>None are required by the build</i>, but you may wish to set them
to override the defaults. to override the defaults.
</p> </p>
@ -442,10 +442,9 @@ to override the defaults.
</dt> </dt>
<dd> <dd>
The ARM architecture version the run-time libraries should target. The ARM architecture version the run-time libraries should target.
ARMv6 cores have more efficient synchronization primitives. Setting Setting <code>$GOARM</code> to 5 causes the linker to emit calls
<code>$GOARM</code> to 5 will compile the run-time libraries using to a software floating point implementation instead of using
just SWP instructions that work on older architectures as well. hardware floating point support.
Running v6 code on an older core will cause an illegal instruction trap.
</dd> </dd>
</dl> </dl>
@ -469,6 +468,6 @@ something like this:
<pre> <pre>
export GOROOT=$HOME/go export GOROOT=$HOME/go
export GOARCH=386 export GOARCH=amd64
export GOOS=linux export GOOS=linux
</pre> </pre>