ld for gcc and libgcj

Andrew Haley aph@pasanda.cygnus.co.uk
Thu Apr 13 04:17:00 GMT 2000


> Date: 2000年4月13日 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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /