This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

Re: ld for gcc and libgcj


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

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