compiling 32-bit code on a 64-bit system

Christopher Bottaro
Thu Mar 4 18:15:00 GMT 2004

i'm using gcc on the itanium platform and i want to know how to compile 
32 bit code (i.e. sizeof(void*) == 4).

here's my version of gcc:

[cjb@rosetta ~]% gcc -v
Reading specs from /usr/lib/gcc-lib/ia64-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-118.7.2)

thanks for the help.

More information about the Gcc-help mailing list