diff options
author | Agniva De Sarker <agnivade@yahoo.co.in> | 2019-08-09 14:37:39 +0530 |
---|---|---|
committer | Agniva De Sarker <agniva.quicksilver@gmail.com> | 2019-08-09 17:07:27 +0000 |
commit | 362625209b6cd2bc059b6b0a67712ddebab312d9 (patch) | |
tree | de1d803df22878b38e4ee1c0bba43883740474dd | |
parent | 2b8b34aa30b69d66d48aedc5ffb4a9f26f37988f (diff) | |
download | go-362625209b6cd2bc059b6b0a67712ddebab312d9.tar.gz go-362625209b6cd2bc059b6b0a67712ddebab312d9.zip |
doc/install-source.html: add new GOOS and GOARCHes
And also insert new paragraphs between GOOS and GOARCH listings
for better readability.
Fixes #28142
Fixes #26513
Change-Id: Ie92e98dbfd924e80032a12afbfa02f30e3a6f916
Reviewed-on: https://go-review.googlesource.com/c/go/+/189578
Reviewed-by: Andrew Bonventre <andybons@golang.org>
-rw-r--r-- | doc/install-source.html | 46 |
1 files changed, 42 insertions, 4 deletions
diff --git a/doc/install-source.html b/doc/install-source.html index 79c2a14b18..f78dacf7ea 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -33,7 +33,7 @@ compiler using the GCC back end, see </p> <p> -The Go compilers support eight instruction sets. +The Go compilers support nine instruction sets. There are important differences in the quality of the compilers for the different architectures. </p> @@ -87,6 +87,12 @@ architectures. <dd> Supports Linux binaries. New in 1.7 and not as well exercised as other ports. </dd> +<dt> + <code>wasm</code> (WebAssembly) +</dt> +<dd> + Targets the WebAssembly platform. New in 1.11 and not as well exercised as other ports. +</dd> </dl> <p> @@ -493,25 +499,45 @@ These default to the values of <code>$GOHOSTOS</code> and <p> Choices for <code>$GOOS</code> are -<code>darwin</code> (macOS 10.10 and above and iOS), <code>dragonfly</code>, <code>freebsd</code>, +<code>android</code>, <code>darwin</code> (macOS 10.11 and above and iOS), +<code>dragonfly</code>, <code>freebsd</code>, <code>illumos</code>, <code>js</code>, <code>linux</code>, <code>netbsd</code>, <code>openbsd</code>, <code>plan9</code>, <code>solaris</code> and <code>windows</code>. +</p> + +<p> Choices for <code>$GOARCH</code> are <code>amd64</code> (64-bit x86, the most mature port), <code>386</code> (32-bit x86), <code>arm</code> (32-bit ARM), <code>arm64</code> (64-bit ARM), <code>ppc64le</code> (PowerPC 64-bit, little-endian), <code>ppc64</code> (PowerPC 64-bit, big-endian), <code>mips64le</code> (MIPS 64-bit, little-endian), <code>mips64</code> (MIPS 64-bit, big-endian), -<code>mipsle</code> (MIPS 32-bit, little-endian), <code>mips</code> (MIPS 32-bit, big-endian), and -<code>s390x</code> (IBM System z 64-bit, big-endian). +<code>mipsle</code> (MIPS 32-bit, little-endian), <code>mips</code> (MIPS 32-bit, big-endian), +<code>s390x</code> (IBM System z 64-bit, big-endian), and +<code>wasm</code> (WebAssembly 32-bit). +</p> + +<p> The valid combinations of <code>$GOOS</code> and <code>$GOARCH</code> are: <table cellpadding="0"> <tr> <th width="50"></th><th align="left" width="100"><code>$GOOS</code></th> <th align="left" width="100"><code>$GOARCH</code></th> </tr> <tr> +<td></td><td><code>aix</code></td> <td><code>ppc64</code></td> +</tr> +<tr> +<td></td><td><code>android</code></td> <td><code>386</code></td> +</tr> +<tr> +<td></td><td><code>android</code></td> <td><code>amd64</code></td> +</tr> +<tr> <td></td><td><code>android</code></td> <td><code>arm</code></td> </tr> <tr> +<td></td><td><code>android</code></td> <td><code>arm64</code></td> +</tr> +<tr> <td></td><td><code>darwin</code></td> <td><code>386</code></td> </tr> <tr> @@ -536,6 +562,12 @@ The valid combinations of <code>$GOOS</code> and <code>$GOARCH</code> are: <td></td><td><code>freebsd</code></td> <td><code>arm</code></td> </tr> <tr> +<td></td><td><code>illumos</code></td> <td><code>amd64</code></td> +</tr> +<tr> +<td></td><td><code>js</code></td> <td><code>wasm</code></td> +</tr> +<tr> <td></td><td><code>linux</code></td> <td><code>386</code></td> </tr> <tr> @@ -587,12 +619,18 @@ The valid combinations of <code>$GOOS</code> and <code>$GOARCH</code> are: <td></td><td><code>openbsd</code></td> <td><code>arm</code></td> </tr> <tr> +<td></td><td><code>openbsd</code></td> <td><code>arm64</code></td> +</tr> +<tr> <td></td><td><code>plan9</code></td> <td><code>386</code></td> </tr> <tr> <td></td><td><code>plan9</code></td> <td><code>amd64</code></td> </tr> <tr> +<td></td><td><code>plan9</code></td> <td><code>arm</code></td> +</tr> +<tr> <td></td><td><code>solaris</code></td> <td><code>amd64</code></td> </tr> <tr> |