From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 14:01:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 232AB16A4B3 for ; Tue, 23 Sep 2003 14:01:09 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF38E44003 for ; Tue, 23 Sep 2003 14:01:07 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h8NL17gG028108; Tue, 23 Sep 2003 17:01:07 -0400 (EDT) Date: Tue, 23 Sep 2003 17:01:07 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Andrea Campi In-Reply-To: <20030923204918.GB714@webcom.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Freebsd Current Subject: Re: Fixing -pthreads (Re: ports and -current) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2003 21:01:09 -0000 On Tue, 23 Sep 2003, Andrea Campi wrote: > [cc trimmed] > > Hi Daniel, > > On Tue, Sep 23, 2003 at 04:13:11PM -0400, Daniel Eischen wrote: > > > However, I'd > > > also suggest making it easy for people to set '-pthread' to give whatever > > > pthreads library they think is the most sensible default for their > > > installation. > > > > You can't make it variable. > > I followed the whole thread and probably I'm being dense, but I still can't > get this point. Note that I'm not taking position one way or the other, just > asking. > > Why is that so? Isn't it possible to have -pthread: > > - do nothing when linking libraries This could and should be done. > - use libmap.conf(5) (possibly integrated by whatever env magic we want to > add to allow this to be temporarily overridden) to decide what to link with. No, you can't do that. You're welcome to try. -- Dan Eischen