
John Maddock wrote:
Vladimir Prus wrote:
which is valid for msvc-7.1 but not msvc-8.0 builds for the former, but not the latter?
What do you mean by "no the latter"? Is it skipped, or built in MT mode or what? I don't think there's no code to do anything when static runtime is used. What should happen in this case?
I don't know what should happen frankly.
It tries to build it but fails:
msvc.link ..\..\..\..\..\bin.v2\libs\config\test\link\test\link_test_static_sing
le_debug.test\msvc-8.0\debug\link-static\runtime-link-static\link_test_static_si
ngle_debug.exe LINK : fatal error LNK1104: cannot open file 'liblink_test-vc80-mt-sgd-1_35.lib'
What's happening is that bjam is building lib's that are name-mangled for a single threaded build, but single threaded builds aren't supported by VC8 at all, so the auto-linking code goes off in search of the MT lib.
I can modify things so that on 8.0, you'll always get MT build. - Volodya