Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-20 09:25:43


"Bjorn Pettersen" <bpettersen_at_[hidden]> writes:

> While trying to figure out a Boost.Python issue, I happened to notice
> that bjam was trying to call the wrong vcvars32.bat file, it's trying to
> find it in:
>
> CALL "C:\Program Files\Microsoft Visual C++\VC98\bin\VCVARS32.BAT">nul
> ^^^^^^^^^^^^^^^^^^^^
>
> (and dropping the error on the floor/nul). If you have the full visual
> studio, however, vcvars32.bat is in:
>
> c:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
> ^^^^^^^^^^^^^^^^^^^^^^^
>
> (got to love MS consistency :-)

Can you suggest a patch? On my machine, I have everything in
c:\tools\msvc6\vc98\bin, so it's hard for me to know what's
appropriate.

> For Visual Studio.NET (vc7), bjam calls the correct file for Visual
> Studio (I don't have a standalone Visual C++, so I can't try that
> here...)
>
> We're politically "forced" to use .dsp/.dsw that are on a different
> drive than the Boost installation, so I haven't had much experience with
> bjam except for building the Boost libraries. Summarily reading the bjam
> documentation seemed to indicate that having your project in an
> unrelated path might be problematic until the next release (please
> correct me if I'm wrong...)

That's correct, if you mean you want to use cross-project build
dependencies. You can always use <library-path> and <library-file> to
reach across project directory hierarchies, though.

> ps: we almost chose Perforce Jam in my last job (5 differnt unices,
> MVS, and three different Winows versions). In the end we ended up
> writing our own system in Java/XML -- a highly configurable piece of
> crap (technical term :-) that had no shortcuts for any common tasks
> (and if anyone says that Jave is trivially portable, send them my
> way <wink>). It's good to see that jam has found an active userbase
> though.

Thanks for the encouragement!

-- 
David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
 

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