From owner-freebsd-current@FreeBSD.ORG Wed Sep 24 11:36:07 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 A7DEA16A4B3 for ; Wed, 24 Sep 2003 11:36:07 -0700 (PDT) Received: from brian.webcom.it (cube.webcom.it [194.185.205.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 850C844022 for ; Wed, 24 Sep 2003 11:36:06 -0700 (PDT) (envelope-from andrea@webcom.it) Received: by brian.webcom.it (Postfix, from userid 1000) id 1C64032; Wed, 24 Sep 2003 20:36:05 +0200 (CEST) Date: Wed, 24 Sep 2003 20:36:05 +0200 From: Andrea Campi To: Ian Dowse Message-ID: <20030924183604.GA22377@webcom.it> References: <200309241703.aa94887@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309241703.aa94887@salmon.maths.tcd.ie> X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: Fixing -pthreads (Re: ports and -current) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 18:36:07 -0000 On Wed, Sep 24, 2003 at 05:03:28PM +0100, Ian Dowse wrote: > Just to throw one further approach out on the table, below is a > patch that makes gcc read from a file to determine what library to > associate with the -pthread flag. It's a hack of course, and probably > neither correct or optimal. If you want to make -pthread mean libkse, > create an /etc/pthread.libs that looks like: Kudos to you! That's the general direction of my thoughts, but I had no idea where to look in gcc's guts... And I agree, maybe it's not the best option, but we should at least consider it. Bye, Andrea -- Failure is not an option. It comes bundled with your Microsoft product.