Tom Tromey <tromey@redhat.com> writes: > The problems I'm seeing have nothing to do with -lpthread but instead > the relative ordering of -lc and -lgcc_s. If -lc comes first, then my > Java programs crash on exit. If -lgcc_s comes first, then they work. It used to be that gcc would link with -lgcc twice, as I recall: -lgcc -lc -lgcc Maybe libtool needs to do the same. -- --Per Bothner per@bothner.com http://www.bothner.com/~per/