|
Boost-Build : |
From: gmu (usrlocalinfo_at_[hidden])
Date: 2004-12-03 19:22:03
Bart wrote:
> 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
>
I'd like to see this fixed too. The compiler in the free VC++ Toolkit
2003 (since version 1.01) is now the identical fully optimizing compiler
found in VC++ 2003 PROFESSIONAL.
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