question about compiling in a 64 bits system

Samuel Gaudard sgaudard@capgemini.com
Tue Nov 30 10:56:00 GMT 2004


Hello,

I have a very simple question :

I'm porting an application from AIX 4.3 (32 bits) to AIX 5.2 (64 bits). So i
have to recompile all my source files.
I've installed gcc 3.3.2.0 on the new server.
If i compile using : gcc -g -o example example.c , will it compile in 64
bits mode ? (as the os is 64 bits)

Do i have to compile using the -maix64 flag ?

eg : gcc -maix64 -g -o example example.c
to get a 64 bit binary ?


Thanks in advance,

Samuel


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.



More information about the Gcc-help mailing list