Update prebuilts to go1.7rc1 ab/3043704
toolchain/go sha ffb9ee3a
Change-Id: Id13cc2f426fd6d4e53bde9b50251fb264a647f47
diff --git a/doc/install.html b/doc/install.html
index e9f0f0d..0e6b86f 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -48,7 +48,7 @@
</tr>
<tr><td colspan="3"><hr></td></tr>
<tr><td>FreeBSD 8-STABLE or later</td> <td>amd64</td> <td>Debian GNU/kFreeBSD not supported</td></tr>
-<tr><td>Linux 2.6.23 or later with glibc</td> <td>amd64, 386, arm</td> <td>CentOS/RHEL 5.x not supported; install from source for ARM</td></tr>
+<tr><td>Linux 2.6.23 or later with glibc</td> <td>amd64, 386, arm</td> <td>CentOS/RHEL 5.x not supported</td></tr>
<tr><td>Mac OS X 10.7 or later</td> <td>amd64</td> <td>use the clang or gcc<sup>†</sup> that comes with Xcode<sup>‡</sup></td></tr>
<tr><td>Windows XP or later</td> <td>amd64, 386</td> <td>use MinGW gcc<sup>†</sup>. No need for cygwin or msys.</td></tr>
</table>
@@ -220,19 +220,29 @@
<p>
Create a directory to contain your <a href="code.html#Workspaces">workspace</a>,
-<code>$HOME/work</code> for example, and set the <code>GOPATH</code> environment
+<code class="testUnix">$HOME/work</code>
+<code class="testWindows" style="display: none">C:\work</code>
+for example, and set the <code>GOPATH</code> environment
variable to point to that location.
</p>
-<pre>
+<pre class="testUnix">
$ <b>export GOPATH=$HOME/work</b>
</pre>
+<pre class="testWindows" style="display: none">
+C:\> <b>set GOPATH=C:\work</b>
+</pre>
+
<p>
+<span class="testUnix">
You should put the above command in your shell startup script
-(<code>$HOME/.profile</code> for example) or, if you use Windows,
-follow the <a href="#windows_env">instructions above</a> to set the
+(<code>$HOME/.profile</code> for example).
+</span>
+<span class="testWindows">
+On Windows, follow the <a href="#windows_env">instructions above</a> to set the
<code>GOPATH</code> environment variable on your system.
+</span>
</p>
<p>
@@ -256,21 +266,30 @@
Then compile it with the <code>go</code> tool:
</p>
-<pre>
+<pre class="testUnix">
$ <b>go install github.com/user/hello</b>
</pre>
+<pre class="testWindows" style="display: none">
+C:\> <b>go install github.com/user/hello</b>
+</pre>
+
<p>
-The above command will put an executable command named <code>hello</code>
+The command above will put an executable command named <code>hello</code>
(or <code>hello.exe</code>) inside the <code>bin</code> directory of your workspace.
Execute the command to see the greeting:
</p>
-<pre>
+<pre class="testUnix">
$ <b>$GOPATH/bin/hello</b>
hello, world
</pre>
+<pre class="testWindows" style="display: none">
+C:\> <b>%GOPATH%\bin\hello</b>
+hello, world
+</pre>
+
<p>
If you see the "hello, world" message then your Go installation is working.
</p>