This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [v3] Link libstdc++.so with -pthread on Tru64 UNIX (PR target/45693)


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


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