64bit compiling and linking on AIX 5.3

David Edelsohn dje@watson.ibm.com
Sun Jan 8 16:50:00 GMT 2006


>>>>> Michele Mazza writes: 

> I need to compile and link my library as a 64bit application on AIX 5.3.
> 
> To run my application using libstdc++ library, do I need to compile and
> use a 64bit version of gcc?
> Is this the only way?

	The mode in which GCC runs (32-bit versus 64-bit) is completely
unrelated to the ability to compile 64-bit applications on AIX.  The
64-bit versions of the relevant GCC libraries need to be installed and
available, but a 32-bit GCC compiler is perfectly capable of producing a
64-bit program.

David




More information about the Gcc-help mailing list