ld error gcc aix

David Edelsohn dje@watson.ibm.com
Fri Aug 1 18:28:00 GMT 2003


>>>>> mla writes:

> Does anybody know why im getting the error:
> 
> g++ -o file1 -g -static-libgcc -b64 -L/usr/local/lib 
> file1.o file2.o file3.o file4.o file5.o  
> /usr/local/lib/libfcgi.a   -lstdc++
> 
> ld: 0711-715 ERROR: File cgijgui.o cannot be
> processed.
>         The file must be an object file, an import
> file, or an archive.

	"-b64" is not a GCC option, it is an AIX C option.  It is having a
different effect than you intend when used with gcc.

David



More information about the Gcc-help mailing list