
Lars Viklund wrote:
On Wed, Aug 08, 2012 at 10:21:41AM +1000, trevor@nurotek.com.au wrote:
Is this some MSVC toolchain issue ? Is there another option I need to be using for this toolchain ?
link=static makes static-linked Boost libraries (lib- prefix)
runtime-link=static makes libraries linked against the static runtime (-s-).
Your use case probably wants both static link and runtime-link, as dynamic linking a Boost that uses a static runtime is pretty much always a bad thing.
This requires a little more clarification somewhere. It's true that creating a DLL which uses static linking can cause problems and avoiding doing this will avoid them. But, sometimes it's necessary. It's not clear what the rules are that would permit one to do this without problems. Robert Ramey