Boost logo

Boost :

From: Randy Bowen (rbowen_at_[hidden])
Date: 2004-02-18 14:07:57

Edward Diener wrote:
> His problem is that if he builds a statically linked library
> and uses the Boost threads library, he will be using a shared
> library and all the shared RTL libraries also, since that is
> what the shared Boost threads library needs to work.
> I also have found that mixing static and shared libraries in
> any situation quite often leads to problems. In this latter
> respect, one should use all shared libraries or all static
> libraries, instead of mixing in both.

The thread_specific_ptr class is the only piece that really requires
a shared library. Running in a Windows environment, we have repackaged
the remainder of the library as a static library for some time now, and
experience no problems.

Randy Bowen

Boost list run by bdawes at, gregod at, cpdaniel at, john at