public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ld error gcc aix
@ 2003-07-25 22:47 mla
  2003-08-01 18:28 ` David Edelsohn
  0 siblings, 1 reply; 2+ messages in thread
From: mla @ 2003-07-25 22:47 UTC (permalink / raw)
  To: gcc-help

hi gurus! :)

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.

melissa

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ld error gcc aix
  2003-07-25 22:47 ld error gcc aix mla
@ 2003-08-01 18:28 ` David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2003-08-01 18:28 UTC (permalink / raw)
  To: mla; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-01 18:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25 22:47 ld error gcc aix mla
2003-08-01 18:28 ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).