64-bit C-compiling on AIX

David Edelsohn dje@watson.ibm.com
Tue Apr 1 16:15:00 GMT 2003


>>>>> Dipl Ing Eduard Thurner writes:

Dipl> Tried to compile and link a 64-bit HelloWorld.c
Dipl> with
Dipl> - gcc 3.2.1 and
Dipl> - binutils 2.13.2 (as, ld)
Dipl> and failed during linking:
>> gcc -maix64 -o HelloWorld HelloWorld.c
Dipl> "collect2: ld returned 1 exit status"

	Use AIX as and AIX ld, not Binutils on AIX.

David



More information about the Gcc mailing list