Compile in AIX with gcc 3.3.2
David Edelsohn
dje@watson.ibm.com
Thu Mar 4 21:15:00 GMT 2004
> I'd like compile apache 1.3.29 in a pSeries 630. The OS is 5.2 with kernel
> 64 bits. When I compile the sources, I get a binary of 32 bits. To compile
> to 64 bits I have to use "-maix64 -mpowerpc64" (I think). Is this correct?
To compile a 64-bit AIX application, the only option you need is
-maix64, -mpowerpc64 is redundant.
> How can I set this options for the configure program?
Maybe you can add -maix64 to CFLAGS and LDFLAGS? That is an
Apache question, not a GCC question.
David
More information about the Gcc-help
mailing list