From 5d1d040e3af871b62d78ec88ccc32c21f2a78f03 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 19 Sep 2011 11:54:07 -0700 Subject: [PATCH] doc: when configuring gold for gccgo, use --enable-gold=default R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5030057 --- doc/gccgo_install.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index 159fab7bb5b..38a30e9c62b 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 gold linker. The easiest way to do this is to build -the GNU binutils, using --enable-gold when you run +the GNU binutils, using --enable-gold=default when you run the configure script, and to use --with-ld=GOLD_BINARY when you configure gccgo. 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