Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-01 15:21:18

Mark Sizer <boost_at_[hidden]> writes:

> Huck finn wrote:
>> Hi everyone, I'm a total newbie to boost, but I've got to developp
>> a
> [snip]
>> I really need to avoid using .dll in this project, so builing this
>> static library is very important to me...
> Hopefully some guru will give you a detailed answer. However, in the
> interests of giving you something quickly:
> No. It has to be a DLL. It has something to do with either
> initialization or termination.

More specifically, it has to do with TLS. If you don't need TLS
support, I think it's possible to build a static version of the
threads library, but it doesn't seem to be supported by the Jamfile.

> The static libraries don't do it
> correctly. The DLLs do. Sorry.
> HTH (and a clearer answer comes along),
> - Mark


Dave Abrahams
Boost Consulting

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at