diff options
author | Ian Lance Taylor <iant@golang.org> | 2011-09-19 11:54:07 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2011-09-19 11:54:07 -0700 |
commit | 1e21202971b65817e1353ccd11da17a6326deb1f (patch) | |
tree | 17be5fe15ee4bc3b5751c17eb229c2b6e57e8d75 /doc/gccgo_install.html | |
parent | 8f5cc2cf7b4a3842c807c1582eeae347c60cd993 (diff) | |
download | go-1e21202971b65817e1353ccd11da17a6326deb1f.tar.gz |
doc: when configuring gold for gccgo, use --enable-gold=default
R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5030057
Diffstat (limited to 'doc/gccgo_install.html')
-rw-r--r-- | doc/gccgo_install.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index 159fab7bb..38a30e9c6 100644 --- a/doc/gccgo_install.html +++ b/doc/gccgo_install.html @@ -58,7 +58,7 @@ use a small discontiguous stack for goroutines. This permits programs to run many more goroutines, since each goroutine can use a relatively small stack. Doing this requires using a development version of the <code>gold</code> linker. The easiest way to do this is to build -the GNU binutils, using <code>--enable-gold</code> when you run +the GNU binutils, using <code>--enable-gold=default</code> when you run the <code>configure</code> script, and to use <code>--with-ld=GOLD_BINARY</code> when you configure <code>gccgo</code>. A typical sequence would look like @@ -72,7 +72,7 @@ cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src login cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co binutils mkdir binutils-objdir cd binutils-objdir -../src/configure --enable-gold --prefix=/opt/gold +../src/configure --enable-gold=default --prefix=/opt/gold make make install </pre> |