This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ld error gcc aix
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: mla <wyl_lyf at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 01 Aug 2003 14:28:32 -0400
- Subject: Re: ld error gcc aix
- References: <20030725221314.48715.qmail@web14509.mail.yahoo.com>
>>>>> 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