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: gcc flag


VallabhaN wrote:

> Can somebody tell me what is the flag for gcc 3.1 for 32 bit
> compilation.

I don't think there's a consistent cross-platform flag.

> Looks like -m32 and -mlong32 are not recognised. I am using 
> gcc 3.1 on Linux IA 64 m/c.

Scanning the source, ia64-hpux recognises -milp32 and -mlp64 but it
doesn't look like these are implemented for Linux - even in CVS GCC.

Either these simply haven't been implemented or someone has made the
decision that ia64-linux will not support ILP32. If you'd like to
volunteer to implement this, or would like to discuss this further,
you'd probably do better on the main gcc mailing list.

Rup.


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