Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-03-21 04:44:33

Mark Van Peteghem wrote:

> Vladimir Prus schreef:
>> Mark Van Peteghem wrote:
>>> Hi,
>>> 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
>>> Studio\VC98\Bin;C:\Libraries\boost-jam;c:\windows;c:\windows\system32;c:\windows\system
>>> 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.
>> You can try --toolset=msvc-6.5
> This works, thanks!
> I would like to suggest that this should be documented, I couldn't find
> it in the documentation (I remember it was for documented for the old
> version of bjam, and I found -6_5 in an old batch file). There are quiet
> some people who still use VC++ 2003, perhaps with VC++2005 installed as
> well, they need this as well.

It's planned to fix this:

> Another suggestion is to stop with an error message if an unknown
> toolset is specified. Now it seems to look at the beginning (msvc in my
> example) if it doesn't recognize the whole expression (msvc-6_5 in my
> example), this is confusing.

Can you file a bug at ?
No registration required, but please use your email to know when this bug
is fixed.

- Volodya


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