[v3] Link libstdc++.so with -pthread on Tru64 UNIX (PR target/45693)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Nov 2 16:47:00 GMT 2010


Andreas Schwab <schwab@redhat.com> writes:

> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
>> * Cannot use -pthread in OPT_LDFLAGS: libtool swallows that,
>>   -Wl,-pthread doesn't work (it's not a linker option), and -Wc,-pthread
>>   doesn't work either (seems to be ignored with -shared), so I had to
>>   fall back to using -lpthread instead.
>
> Shouldn't that be put in LIBADD?

I see no direct way of doing so.  One might use GLIBCXX_LIBS, no idea if
this could safely be done in configure.host.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Libstdc++ mailing list