diff --git a/doc/install.html b/doc/install.html index be1131d4aa..510464960f 100644 --- a/doc/install.html +++ b/doc/install.html @@ -297,7 +297,7 @@ that receives a message summarizing each checkin to the Go repository.

Environment variables

-The Go compilation environment can be customized by five environment variables. +The Go compilation environment can be customized by environment variables. None are required by the build, but you may wish to set them to override the defaults.

@@ -331,8 +331,8 @@ to override the defaults.
The name of the target operating system and compilation architecture. - These default to the local system's operating system and - architecture. + These default to the values of $GOHOSTOS and + $GOHOSTARCH respectively (described below).

Choices for $GOOS are linux, @@ -377,6 +377,22 @@ to override the defaults.

+
+$GOHOSTOS and $GOHOSTARCH +
+
+ The name of the host operating system and compilation architecture. + These default to the local system's operating system and + architecture. + +

+ Valid choices are the same as for $GOOS and + $GOARCH, listed above. + The specified values must be compatible with the local system. + For example, you should not set $GOHOSTARCH to + arm on an x86 system. +

+
$GOBIN