On 19/09/2007, John Maddock wrote:
Yongwei Wu wrote:
I see no reason why the DLL build of STLport (stlport_vc71_stldebug. lib) should be referenced in a static build of Boost.Regex (libboost_regex-vc71-mt-sgdp-1_34_1.lib).
Or no reason why not either: you can use the STLport dll as long as you are using a dll runtime. You can likewise use either the static or dll regex lib with a dll runtime.
The suffix "-s" suggests it should be linked "statically to the C++ standard library and compiler runtime support libraries". That is reason why it is selected automatically by "/MTd".
I am not familiar with bjam enough to investigate further. Any help is appreciated.
It looks like stlport.jam is forcing _STLP_USE_DYNAMIC_LIB on for some reason, I'll post a message on the Boost.Build list about this, since I don't understand BBv2's internals either !
Thanks! Best regards, Yongwei -- Wu Yongwei URL: http://wyw.dcweb.cn/