Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2003 22:49:19 +0200
From:      Andrea Campi <andrea@webcom.it>
To:        deischen@freebsd.org
Cc:        Freebsd Current <current@freebsd.org>
Subject:   Re: Fixing -pthreads (Re: ports and -current)
Message-ID:  <20030923204918.GB714@webcom.it>
In-Reply-To: <Pine.GSO.4.10.10309231539310.12602-100000@pcnet5.pcnet.com>
References:  <MDEHLPKNGKAHNMBLJOLKAEHFGNAA.davids@webmaster.com> <Pine.GSO.4.10.10309231539310.12602-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[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
 - 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.

Bye,
	Andrea

-- 
                   Press every key to continue.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030923204918.GB714>