Boost logo

Boost-Build :

From: Bart (bartmann_nsd_at_[hidden])
Date: 2004-11-21 19:50:22

I use the free vc-71 compiler M$ offers. I ran into some issues where bjam
wasn't able to use it without some config customizations.

First problem was bjam couldn't find vcvars32.bat. The toolkit installs it
in "C:\Program Files\Microsoft Visual C++ Toolkit 2003". Bjam looks for it
in the bin subdirectory which is where the Visual Studio .NET install places

Easy fix, I just copied it to the bin subdirectory. I still thought it worth

Second problem, bjam wants to link against msvcprtd.lib (linker flags /MD &
/MDd). The free toolkit doesn't ship with those libraries. I was able to
build by adding the following two lines to my vc-7_1-tools.jam file:
flags msvc CFLAGS <runtime-build>release/<runtime-link>dynamic : /ML ;
flags msvc CFLAGS <runtime-build>debug/<runtime-link>dynamic : /MLd ;
This gives me warnings since I'm overriding the previous linker flags set in

I hope someone can address these issues. It would be nice if the boost build
system could use this compiler w/o the need for my customizations.

The toolkit gat be downloaded via:



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at