1
0
mirror of https://github.com/golang/go synced 2024-11-24 09:30:07 -07:00

install.html: elaborate on shell profile instructions

R=r, rsc
CC=golang-dev
https://golang.org/cl/556041
This commit is contained in:
Andrew Gerrand 2010-03-16 09:42:34 +11:00
parent b32f22b3f8
commit 9aff17f0d7

View File

@ -19,9 +19,9 @@ compiler using the GCC back end, see
<h2>Environment variables</h2> <h2>Environment variables</h2>
<p>The Go compilation environment depends on three environment <p>
variables that you should set in your <code>.bashrc</code> or equivalent, The Go compilation environment depends on three environment variables plus one optional variable:
plus one optional variable:</p> </p>
<dl> <dl>
<dt> <dt>
@ -106,7 +106,9 @@ In effect, you are always cross-compiling.
</p> </p>
<p> <p>
Set these variables in your <code>.bashrc</code>. For example: Set these variables in your shell profile (<code>$HOME/.bashrc</code>,
<code>$HOME/.profile</code>, or equivalent). The settings might look
something like this:
</p> </p>
<pre> <pre>
@ -116,7 +118,8 @@ export GOOS=linux
</pre> </pre>
<p> <p>
Double-check them by listing your environment. Double-check them by listing your environment. (You will need to launch
a new shell or terminal window for the changes to take effect.)
</p> </p>
<pre> <pre>