summaryrefslogtreecommitdiff
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
commit3f3ae50ab8a0c20d079ee0411cfee83d8c399a1b (patch)
treef63c1060c63279a5dcecfde657b3f02cc9c4505d
parent3c1874e0e6888bd56364d834a69c806a327d7a3e (diff)
downloadgolang-3f3ae50ab8a0c20d079ee0411cfee83d8c399a1b.tar.gz
added note about the GOARM env variable
R=rsc, r CC=golang-dev http://codereview.appspot.com/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 5e2cd757f..6321ce726 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>