Boost logo

Boost :

Subject: Re: [boost] [threads] making parts of Boost.Threads header-only
From: Christopher Jefferson (chris_at_[hidden])
Date: 2009-04-09 12:21:37


On 8 Apr 2009, at 23:05, Emil Dotchevski wrote:

> On Wed, Apr 8, 2009 at 2:31 PM, Schrader, Glenn <gschrad_at_[hidden]>
> wrote:
>> Even so, using the libraries isn't painless. One of the things that
>> I don't like is that depending on how a build is configured the
>> file names might or might not be mangled with the gcc version. It
>> would be really nice if there were something like a pkg-config file
>> that could be queried to find the names to link in for a given
>> install.
>
> The problem you're talking about applies only if the library is not
> built from sources, and building the Thread library from sources is
> rather painless. Just grab the cpps and throw them in your build
> system, that's about it.

That assumes you aren't trying to distribute your code to people who
might have different versions of boost installed. In that case,
pulling part of boost into your build tree isn't going to work.

Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk