|
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
it.
Easy fix, I just copied it to the bin subdirectory. I still thought it worth
mentioning.
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
msvc-tools.jam.
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:
http://msdn.microsoft.com/visualc/vctoolkit2003/
Thanks,
Bart
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk