This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configure gcc to build 32-bit binaries on x86_64


We plan to use x86_64 linux machine to build binary code that can
eventually run on i386 machine. I know it's possible with -m32. 

I wonder if there is an easy way to configure/build GCC so that it would 
produce 32-bit binaries by default?   

The reason I want this is because we build many products, and it may be 
more difficult to implant -m32 option in every build system. 

Thanks for any hints.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]