From owner-freebsd-ports@FreeBSD.ORG Tue Jun 8 17:54:18 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D826D16A4CE for ; Tue, 8 Jun 2004 17:54:18 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6206B43D2F for ; Tue, 8 Jun 2004 17:54:18 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i58HrDgS003518; Tue, 8 Jun 2004 13:53:13 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Michael Nottebrock 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZlkXhMlVWwXz+8c723vW" Organization: FreeBSD, Inc. Message-Id: <1086717246.68846.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 08 Jun 2004 13:54:06 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: freebsd-ports@FreeBSD.org cc: John Birrell Subject: Re: RFC: [Long] Change PTHREAD_LIBS to -pthread for -CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 17:54:19 -0000 --=-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--