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]

Re: Build 32 bit compiler on 64 bit machine


Christina Wang wrote:
> 
> Hi,
> 
> I'm trying to build 32 bit gcc4.1.0 on a 64 bit machine(FC3 with intel
> x86_64EMT processors). The default mode of the generated compiler is
> always 64 bit. I tried "--enable-targets=m32" in the configuration
> stage, but it doesn't work. With a  64 bit processor, how can I build 32
> bit gcc or bi-arch but the default mode is 32 bit?
> 
> Thanks!
> 
> Christina
> 

This group doesn't seem to want to ansser either of our questions today.

Hmm...

Perhaps compiling it with 'configure --host=x86_64-pc-linux-gnu
--build=x86_64-pc-linux-gnu --target=i686-pc-linux-gnu' ?

i.e. a cross compiler, of sorts.


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