This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: solaris, collect2 and ld
- To: Drury Tim <Tim_Drury@bscc.bls.com>
- Subject: Re: solaris, collect2 and ld
- From: Anthony Green <green@cygnus.com>
- Date: 09 Jun 1999 08:16:31 -0700
- CC: egcs-bugs@egcs.cygnus.com, java-discuss@sourceware.cygnus.com
- References: <4F1A22492911D2118E3200805FE65B8502C9D702@sbsccexm01.bscc.bls.com>
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