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. +