Commit dd0b8e79 authored by Russ Cox's avatar Russ Cox

doc: emphasize that environment variables are optional

Also update $GOARM description.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4972041
parent 987649e0
...@@ -331,11 +331,11 @@ there is another mailing list, <a href="http://groups.google.com/group/golang-ch ...@@ -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. ...@@ -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: ...@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment