------- Comment #7 from marek dot rouchal at infineon dot com  2009-07-02 11:46 
-------
(In reply to comment #5)
> What you want is --with-cpu=default32 for x86_64 which does not exist yet.  It
> does for powerpc64 though.

I'd like to ping this request once again - it seems that there was no progress
on this.
The requirement actually is as follows:
When building gcc on x86_64 (amd64), currently the resulting gcc (and g++,
gfortran etc.) binaries are 64bit. This is unlike Solaris, where the binaries
are 32bit. On both platforms, gcc is able to produce 32bit and 64bit binaries
(thanks to the multilib support). For a network installation of gcc, with 32bit
(i686) and 64bit (x86_64) Linux hosts it would be preferable, if the gcc
binaries were 32bit - then gcc would run on both CPU types; and on the x86_64
systems, it would be able to build 64bit binaries with -m64.

So far I have not found a way to pass -m32 selectively through the gcc
bootstrap process such that the gcc (g++, gfortran, ...) binaries would be
32bit, while the multilib support would remain as is. Any hints are
appreciated.

Many thanks,

Marek


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22073

Reply via email to