mirror of
https://github.com/golang/go
synced 2024-11-21 15:54:43 -07:00
On 32-bit x86, one should configure with --with-arch=.
R=r https://golang.org/cl/156080
This commit is contained in:
parent
652bb7c2be
commit
9e8d136888
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user