From 53ab6a0ad19e76156ec79b4c0c557910dee49005 Mon Sep 17 00:00:00 2001
From: Rob Pike
$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 |
+