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]
Other format: [Raw text]

Re: printing exceptions?


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:

Alexandre> The solution to make sure pthread is always linked in
Alexandre> before libc would be to explicitly link -lpthread before
Alexandre> any other library (even GCJ-internal ones, even if it is
Alexandre> going to be duplicated afterwards).

Is there something definitely wrong with just changing --tag=CXX to
--tag=CC?

Otherwise won't we need to link against -lpthread twice?  E.g.:

    gij_LDADD = $(THREADLIBS) libgcj.la $(GCLIBS) $(THREADLIBS) [ ... ]

That seems ugly.

Tom


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