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: cdornan at arm dot com
- Subject: Re: ld for gcc and libgcj
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 13 Apr 2000 11:17:14 -0000
- CC: java-discuss at sourceware dot cygnus dot com
> Date: Thu, 13 Apr 2000 12:10:59 +0100 (BST)
> From: Chris Dornan <cdornan@arm.com>
>
> OK, I have downloaded, built and installed binutils 2.9.1 and have
> tried to rebuild libgcj with the new ld and as:
>
> ../libgcj-2.95.1/configure \
> --prefix=/export/home/cdornan/gnu/gcc-2.95.2 \
> --with-as=/home/cdornan/bin/as \
> --with-ld=/home/cdornan/bin/ld
>
> but the build breaks down:
>
> rm -fr .libs/libzgcj.la .libs/libzgcj.* .libs/libzgcj.*
> gcc -shared adler32.lo compress.lo crc32.lo deflate.lo gzio.lo infblock.lo infcodes.lo inffast.lo inflate.lo inftrees.lo infutil.lo trees.lo uncompr.lo zutil.lo -lc -Wl,-soname -Wl,libzgcj.so.0 -o .libs/libzgcj.so.0.0.0
At this point I would run gcc with the option -v; this tells you what
options ld is being passed and which ld is being run. I am suspicious...
> Is this because gcc was built with a different ld? Do I need to
> rebuild gcc with the new ld?
Possibly. Try the `gcc -v' and see.
Andrew.