Re: [jakub_at_redhat.com:Linking against libpthread via -pthread?

From: Daniel Eischen <deischen_at_freebsd.org>
Date: Sat, 11 Feb 2006 09:39:08 -0500 (EST)
On Fri, 10 Feb 2006, Steve Kargl wrote:

> On Sat, Feb 11, 2006 at 01:21:48AM -0500, Daniel Eischen wrote:
> > On Fri, 10 Feb 2006, Alexander Kabaev wrote:
> > >
> > > No. The change to link in libc by default and libpthread with -pthread
> > > are inthe works and will be committed shortly. There is not way around
> > > this if we want working versioned libc and libpthread in our system.
> >
> > Why is that?  We really don't want -pthread to build in libpthread
> > dependency when linking shared libraries.
>
> Uh, well, you do if you want to use GCC 4.2.X

Why?  If one _really_ needs a shared library linked to libpthread,
-lpthread will always work.

-- 
DE
Received on Sat Feb 11 2006 - 13:39:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC