Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
9aff17f0
Commit
9aff17f0
authored
Mar 16, 2010
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install.html: elaborate on shell profile instructions
R=r, rsc CC=golang-dev
https://golang.org/cl/556041
parent
b32f22b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
doc/install.html
doc/install.html
+8
-5
No files found.
doc/install.html
View file @
9aff17f0
...
...
@@ -19,9 +19,9 @@ compiler using the GCC back end, see
<h2>
Environment variables
</h2>
<p>
The Go compilation environment depends on three environment
variables that you should set in your
<code>
.bashrc
</code>
or equivalent,
plus one optional variable:
</p>
<p>
The Go compilation environment depends on three environment variables plus one optional variable:
</p>
<dl>
<dt>
...
...
@@ -106,7 +106,9 @@ In effect, you are always cross-compiling.
</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>
<pre>
...
...
@@ -116,7 +118,8 @@ export GOOS=linux
</pre>
<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>
<pre>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment