From: Kai Backman
Date: Wed, 3 Feb 2010 02:09:07 +0000 (-0800)
Subject: added note about the GOARM env variable
X-Git-Tag: weekly.2010-02-04~22
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cd4a684214f5396c860e4f8ee16fc2d4b928c14e;p=gostls13.git
added note about the GOARM env variable
R=rsc, r
CC=golang-dev
https://golang.org/cl/198074
---
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:
After installing, you will want to arrange to add this
directory to your $PATH
, so you can use the tools.
+
+
+$GOARM
(optional, arm, default=6)
+
+
+ The ARM architecture version the runtime libraries should target.
+ ARMv6 cores have more efficient synchronization primitives. Setting
+ $GOARM
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.
+