This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: libtool, java woes


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/


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