]> Cypherpunks repositories - gostls13.git/commitdiff
added note about the GOARM env variable
authorKai Backman <kaib@golang.org>
Wed, 3 Feb 2010 02:09:07 +0000 (18:09 -0800)
committerKai Backman <kaib@golang.org>
Wed, 3 Feb 2010 02:09:07 +0000 (18:09 -0800)
R=rsc, r
CC=golang-dev
https://golang.org/cl/198074

doc/install.html

index 5e2cd757f7bdcf2bba7a7000b38d38f11300dd37..6321ce726e57efe5189acaa0855030c733088359 100644 (file)
@@ -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>