diff options
author | Ian Lance Taylor <iant@golang.org> | 2009-11-18 12:48:48 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2009-11-18 12:48:48 -0800 |
commit | 73e317cab640fabc19e94cd17e6c919a4f4f9015 (patch) | |
tree | a6aa9fedb2e1485ef1dfa81f1a92c337026041c8 /doc/gccgo_install.html | |
parent | b8d2cbcfc1c3f4e7af184066b99bcbde2cb87df8 (diff) | |
download | go-73e317cab640fabc19e94cd17e6c919a4f4f9015.tar.gz |
On 32-bit x86, one should configure with --with-arch=.
R=r
http://codereview.appspot.com/156080
Diffstat (limited to 'doc/gccgo_install.html')
-rw-r--r-- | doc/gccgo_install.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index 27d93e8bc..587e4dd8f 100644 --- a/doc/gccgo_install.html +++ b/doc/gccgo_install.html @@ -31,11 +31,16 @@ repository: <code>svn://gcc.gnu.org/svn/gcc/branches/gccgo</code>. <p> Building <code>gccgo</code> is just like building <code>gcc</code> -with one additional option. See +with one or two additional options. See the <a href="http://gcc.gnu.org/install/">instructions on the gcc web site</a>. When you run <code>configure</code>, add the -option <code>--enable-languages=c,c++,go</code> (along with other languages you -may want to build). +option <code>--enable-languages=c,c++,go</code> (along with other +languages you may want to build). If you are targeting a 32-bit x86, +then you will want to build <code>gccgo</code> to default to +supporting locked compare and exchange instructions; do this by also +using the <code>configure</code> option <code>--with-arch=i586</code> +(or a newer architecture, depending on where you need your programs to +run). </p> <p> |