This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
question about compiling in a 64 bits system
- From: "Samuel Gaudard" <sgaudard at capgemini dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 30 Nov 2004 11:55:56 +0100
- Subject: question about compiling in a 64 bits system
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.