Re: How to install 32 bit gcc on 64 bit RHEL5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please don't top-post.

Yuan, Sai (NSN - CN/Cheng Du) wrote:
> Oh! I didn't install a 32-bit cross assembler. Where can i get this stuff?

It's all part of GNU Binutils.

> I didn't use "-m32" because it also compile in Clearcase environment. It's not easy for me to add this flag.

You have got to be joking!  Are you telling me that Clearcase is so
unspeakably awful that you cannot control any compiler flags?

Are you telling me that you cannot use a shell script to exec gcc
with the -m32 flag?

Andrew.


> -----Original Message-----
> From: ext Andrew Haley [mailto:aph@xxxxxxxxxx]
> Sent: Tue 8/12/2008 5:00 PM
> To: Yuan, Sai (NSN - CN/Cheng Du)
> Cc: gcc-help@xxxxxxxxxxx
> Subject: Re: How to install 32 bit gcc on 64 bit RHEL5.1
>  
> Yuan, Sai (NSN - CN/Cheng Du) wrote:
> 
>> It caused me to doubt whether it can install 32 bit gcc on 64 bit Linux. Btw, the version i want to install is 32bit gcc 4.1.2.
>> Could you please help me?
> 
> It's complaining that you haven't installed a 32-bit cross assembler.
> I guess that's right, is it?  You didn't build cross-binutils for i386?
> 
> Why are you doing such a strange thing?  gcc will already generate 32-bit
> code with "gcc -m32".
> 
> Andrew.
> 
> 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux