This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: ld for gcc and libgcj
- To: Chris Dornan <cdornan at arm dot com>
- Subject: Re: ld for gcc and libgcj
- From: Joerg Brunsmann <joerg dot brunsmann at FernUni-Hagen dot de>
- Date: Thu, 13 Apr 2000 13:15:23 +0200
- CC: java-discuss at sourceware dot cygnus dot com
- Organization: Fernuniversitaet Hagen - Software Engineering (Praktische Informatik III)
- References: <200004131110.MAA24488@sun14.cambridge.arm.com>
Chris Dornan wrote:
> ld: warning: option -o appears more than once, first setting taken
> ld: fatal: file libzgcj.so.0: cannot open file: No such file or directory
> ld: fatal: File processing errors. No output written to .libs/libzgcj.so.0.0.0
> collect2: ld returned 1 exit status
> make[1]: *** [libzgcj.la] Error 1
>
> Is this because gcc was built with a different ld? Do I need to
> rebuild gcc with the new ld?
Yes, also make sure that the gnu ld is found first via your path,
not the /usr/ccs/bin/ld
Good luck,
Jörg