This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] libstd++ linking location fix(?) for arm eabi
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: Riku Voipio <riku dot voipio at iki dot fi>
- Cc: java-patches at gcc dot gnu dot org
- Date: Thu, 13 Sep 2007 16:05:35 +0100
- Subject: Re: [PATCH] libstd++ linking location fix(?) for arm eabi
- References: <20070913145011.GA13864@kos.to>
Riku Voipio writes:
>
> Hi,
>
> First attempt to build gij/gcj on arm eabi (thanks, Andrew, Matthias!) failed
> when linking:
>
> (cd .libs && rm -f libgcj_bc.la && ln -s ../libgcj_bc.la libgcj_bc.la)
> gcj: /root/gcj-4.2/gcj-4.2-4.2.1/build/arm-linux-gnueabi/libjava/../libstdc++-v3/src/.libs/.libs/libstdc++.so: No such file or directory
>
> As the .libs/.libs stanza seemed suspicious, I simply dropped .libs
> from extra_ldflags and gcj compiled successfully. Now I don't really know
> who from the autofoo gang is adding the extra .libs and if it should be
> rather removed from there...
Until we know what's causing the difference, please *add*
-L$(here)/../libstdc++-v3/src to the path rather than replacing the
existing line.
Andrew.