
No mater what I specify on the command line, cl tries to ling with 'libboost_program_options-vc90-mt-s-1_42.lib'.
You link your project with static CRT, don't you? So the boost libs must also use static CRT, and that's what "-s" stands for.
When I built the boost libraries it built 'libboost_program_options-vc90-mt-1_42.lib', 'libboost_program_options-vc90-mt.lib', 'libboost_program_options-vc90-mt-gd-1_42.lib', and 'libboost_program_options-vc90-mt-gd.lib', but not 'libboost_program_options-vc90-mt-s-1_42.lib'. I have tried to tell cl to link with one of the libraries that was build, but it still links with 'libboost_program_options-vc90-mt-s-1_42.lib' regardless of what I specify on the command line.
Has anyone else seen this problem or have any idea how to solve it?
Add "runtime-link=static" to bjam line.