Boost logo

Boost :

Subject: Re: [boost] Building software with Boost
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-11-01 05:42:31


Lasse Kärkkäinen wrote:

> Hi,
>
> There are two questions for which I have found no answers:
>
> 1. When exactly are -mt (multithreaded) versions of the libraries
> needed?

When you building MT program, naturally. More specifically, if you use
threads anywhere in your program, I'd recommending building all of
your program in MT mode (-pthreads for gcc) and linking to MT versions
of Boost libraries.

> 2. Boost.System was added in 1.35 and apparently some of the old
> libraries also depend on it in new Boost versions. Are the inter-library
> dependencies of Boost actually documented somewhere, or does one need to
> guess?

They are not document. filesystem->system dependency is the only one I
know. Future Boost release will generate pgk-config files to describe
such dependencies.

- Volodya


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