public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* question about compiling in a 64 bits system
@ 2004-11-30 10:56 Samuel Gaudard
  2004-12-03  5:43 ` David Edelsohn
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Gaudard @ 2004-11-30 10:56 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-03 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30 10:56 question about compiling in a 64 bits system Samuel Gaudard
2004-12-03  5:43 ` David Edelsohn
2004-12-03  9:18   ` Samuel Gaudard
2004-12-03 15:12     ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).