RE: [boost] Re: Re:(For me a) showstopper [was: boost thread static library]

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 Stamps.com

// 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. I would be interested to learn how you achived this without modifying boost. Stefan
participants (2)
-
Randy Bowen
-
Stefan Slapeta