This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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


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?

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


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