From cd4a684214f5396c860e4f8ee16fc2d4b928c14e Mon Sep 17 00:00:00 2001 From: Kai Backman Date: Tue, 2 Feb 2010 18:09:07 -0800 Subject: [PATCH] added note about the GOARM env variable R=rsc, r CC=golang-dev https://golang.org/cl/198074 --- doc/install.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/install.html b/doc/install.html index 5e2cd757f7b..6321ce726e5 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. +