This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld error gcc aix


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]