This is the mail archive of the java@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]

Re: dependency_libs


On Apr  4, 2001, Jeff Sturm <jsturm@one-point.com> wrote:

> Having just updated my tree, I'm finding that libtool is miscompiling gij
> by linking -lc before -lpthread.  Removing -lc from dependency_libs in
> libgcj.la fixes it so the testsuite runs once again.

If libgcj depends on -lpthread being linked in before -lc, it should
be linked with -lpthread.  dependency_libs is computed based on the
libraries a library is linked with, including those that are
implicitly linked in by the compiler.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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