This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] Link libstdc++.so with -pthread on Tru64 UNIX (PR target/45693)
- From: Andreas Schwab <schwab at redhat dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Tue, 02 Nov 2010 17:30:15 +0100
- Subject: Re: [v3] Link libstdc++.so with -pthread on Tru64 UNIX (PR target/45693)
- References: <ydd39rq1irs.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <ydd39rj7l4u.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
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."