------- Comment #11 from marek dot rouchal at infineon dot com  2009-07-09 
14:48 -------
(In reply to comment #10)

Thank you very much! I can confirm now that with the given information I was
able to compile on a x86_64 Linux box a gcc-4.3.3 with all executables (gcc,
cc1, ...) built in 32bit, plus the libgcc_s.so and libstdc++.so in both 32 and
64bit. May I suggest to add a note on this to the INSTALL document, in the
section on x86_64? Here is a rough proposal for the text, please feel free to
edit:

On x86_64 gcc will bootstrap by default to 64bit binaries. You can force the
build of 32bit gcc binaries, such that the resulting gcc will also be
executable on 32bit CPUs; this requires i686-pc-linux-gnu binutils (configured
with --enable-64-bit-bfd) to be present in the path where gcc is going to be
installed. The gcc bootstrap process then has to be configured with:
CC="gcc -m32" CC_FOR_BUILD="gcc -m32" ./configure --enable-targets=all
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu


-- 

marek dot rouchal at infineon dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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

Reply via email to