aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Backman <kaib@golang.org>2010-02-02 18:09:07 -0800
committerKai Backman <kaib@golang.org>2010-02-02 18:09:07 -0800
commitcd4a684214f5396c860e4f8ee16fc2d4b928c14e (patch)
tree98389c4f6b8b2ceb22c3f2ca6defe533a1178803
parent8bef7fdc3923d48ddc2f76ae57fc8d4e9135beb8 (diff)
downloadgo-cd4a684214f5396c860e4f8ee16fc2d4b928c14e.tar.gz
go-cd4a684214f5396c860e4f8ee16fc2d4b928c14e.zip
added note about the GOARM env variable
R=rsc, r CC=golang-dev https://golang.org/cl/198074
-rw-r--r--doc/install.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/install.html b/doc/install.html
index 5e2cd757f7..6321ce726e 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -86,6 +86,17 @@ plus one optional variable:</p>
After installing, you will want to arrange to add this
directory to your <code>$PATH</code>, so you can use the tools.
</dd>
+
+<dt>
+<code>$GOARM</code> (optional, arm, default=6)
+</dt>
+<dd>
+ The ARM architecture version the runtime libraries should target.
+ ARMv6 cores have more efficient synchronization primitives. Setting
+ <code>$GOARM</code> to 5 will compile the runtime 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.
+</dd>
</dl>
<p>