This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Still failing to bootstrap on Solaris (CONFIG_SHELL doesn't help)
On Thu, May 02, 2002 at 10:37:31PM +0200, Rainer Orth wrote:
> but this is not what happens: the error only shows up if you have two
> different files with the same SONAME, as can be seen e.g. in
>
> http://gcc.gnu.org/ml/java/2001-04/msg00129.html
>
> ld: fatal: file /sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.0/../../../libgcj.so: recording name `libgcj.so.2' matches that provided by file ./.libs/libgcj.so
But what prompted it to go looking in /sw/test/ in the first place?
The -L option should have directed the search for -lgcj to ./.libs/.
r~