question about compiling in a 64 bits system

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

 



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.


[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