solaris, collect2 and ld

Anthony Green green@cygnus.com
Wed Jun 30 23:07:00 GMT 1999


Drury Tim <Tim_Drury@bscc.bls.com> writes:

> I tried the following:
> 
> aries:/users/tim> ../libgcj-snapshot-1999-06-02/configure 
> --prefix=/backup/tim/egcs-1999.06.02 --enable-java-gc=boehm 
> --enable-fast-character --enable-threads=posix 
> --disable-shared --with-gnu-as --with-ld=/user/tim/binutils/bin/ld
> 
> and it failed with the same problem.  

The trick is to configure egcs using --with-ld=/usr/tim/binutils/bin/ld

I don't understand why the egcs configure script doesn't use the GNU
linker by default if it is first on your path.

You can also safely remove --disable-shared.

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California



More information about the Gcc-bugs mailing list