From 53ab6a0ad19e76156ec79b4c0c557910dee49005 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 24 Nov 2009 16:00:19 -0800 Subject: [PATCH] add freebsd to the list of os'es. make the GOOS/GOARCH pair a table to avoid the confusion caused when it was of the form linux/386. R=rsc CC=golang-dev https://golang.org/cl/160061 --- doc/install.html | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/doc/install.html b/doc/install.html index 9547b0e60f1..a7fc446db29 100644 --- a/doc/install.html +++ b/doc/install.html @@ -37,19 +37,44 @@ plus one optional variable:

The name of the target operating system and compilation architecture. Choices for $GOOS are linux, + freebsd, darwin (Mac OS X 10.5 or 10.6), and nacl (Native Client, an incomplete port). Choices for $GOARCH are amd64 (64-bit x86, the most mature port), 386 (32-bit x86), and arm (32-bit ARM, an incomplete port). - The valid combinations are - linux/amd64, - linux/arm, - linux/386, - darwin/amd64, - darwin/386, - and - nacl/386. + The valid combinations of $GOOS and $GOARCH are: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
$GOOS $GOARCH
darwin 386
darwin amd64
freebsd 386
freebsd amd64
linux 386
linux amd64
linux arm
nacl 386
+