Date: Tue, 08 Jun 2004 13:54:06 -0400 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: Michael Nottebrock <michaelnottebrock@gmx.net> Cc: John Birrell <jb@cimlogic.com.au> Subject: Re: RFC: [Long] Change PTHREAD_LIBS to -pthread for -CURRENT Message-ID: <1086717246.68846.6.camel@shumai.marcuscom.com> In-Reply-To: <200406081817.43175.michaelnottebrock@gmx.net> References: <1086673141.18374.35.camel@shumai.marcuscom.com> <200406081020.48658.michaelnottebrock@gmx.net> <20040608084115.GC3604@freebsd3.cimlogic.com.au> <200406081817.43175.michaelnottebrock@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-ZlkXhMlVWwXz+8c723vW Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-06-08 at 12:17, Michael Nottebrock wrote: > On Tuesday 08 June 2004 10:41, John Birrell wrote: > > On Tue, Jun 08, 2004 at 10:20:47AM +0200, Michael Nottebrock wrote: > > > I remember at one time -pthread was completely gone from gcc in > > > -CURRENT, why this was reversed I don't know > > > > The reason was that the gcc people want -pthread to be the standard > > way of sucking in thread support via their compiler. They intend the > > -pthread option to be used across all operating systems, notably > > including Linux.=20 >=20 > I see. How do we address the issue of having multiple threads libraries t= o=20 > choose from then? I take it using the libmap feature is not the answer. Yes, it would work the same way it does today. By default, -pthread would just link to libpthread, but it would do so in an intelligent manner. One could always use libmap to adjust this after the fact. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-ZlkXhMlVWwXz+8c723vW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAxf0+b2iPiv4Uz4cRAkdvAJ48GUK8E7nOLlZ01MeVfsLr4Kp1qwCePw/S SPDUTxkr73cgXYqVZ8SMDq8= =fSXN -----END PGP SIGNATURE----- --=-ZlkXhMlVWwXz+8c723vW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1086717246.68846.6.camel>