[PATCH] libstd++ linking location fix(?) for arm eabi

Andrew Haley aph-gcc@littlepinkcloud.COM
Thu Sep 13 15:05:00 GMT 2007


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.



More information about the Java-patches mailing list