Boost logo

Boost-Build :

From: Mark Van Peteghem (Mark.Van.Peteghem_at_[hidden])
Date: 2008-03-19 16:32:44


I have Visual C++ 6, VC++ 2003 and VC++ 2005 installed on my computer. I
downloaded boost_1_34_1 and the most recent version of bjam.

I tried to build the regex library with the following batch file:

set PATH=C:\Program Files (x86)\Microsoft Visual
call vcvars32.bat
bjam --prefix=C:\Libraries\boost_1_34_1 -q -d+2 --with-regex
--toolset=msvc stage

but it seems that it builds with the VC++ 2005 compiler: the libraries
and dlls have 80 in their name, and in the output of bjam I see that
VC++ 2005 is called with its complete path. How do I specify that I want
it to use VC++ 6?

I find it very confusing that bjam is calling an application of which
you thought it couldn't find because it is not on the path.

 From an earlier version of bjam I remember that you could specify
msvc-6_5 for the toolset, but when I try that now, I get errors about
/Ze and /Za options being incompatible.

  When you get lemons, you make lemonade.
  When you get hardware, you make software.

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