This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Andrew Haley writes:
 > 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.

One thing that might cause this: are you building static libraries as
well as dynamic libraries?

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]