From 9e8d136888f269a6ff8060e44e8a50e4f50474be Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 18 Nov 2009 12:48:48 -0800 Subject: [PATCH] On 32-bit x86, one should configure with --with-arch=. R=r https://golang.org/cl/156080 --- doc/gccgo_install.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index 27d93e8bc7..587e4dd8fc 100644 --- a/doc/gccgo_install.html +++ b/doc/gccgo_install.html @@ -31,11 +31,16 @@ repository: svn://gcc.gnu.org/svn/gcc/branches/gccgo.

Building gccgo is just like building gcc -with one additional option. See +with one or two additional options. See the instructions on the gcc web site. When you run configure, add the -option --enable-languages=c,c++,go (along with other languages you -may want to build). +option --enable-languages=c,c++,go (along with other +languages you may want to build). If you are targeting a 32-bit x86, +then you will want to build gccgo to default to +supporting locked compare and exchange instructions; do this by also +using the configure option --with-arch=i586 +(or a newer architecture, depending on where you need your programs to +run).

-- 2.50.0