Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-08 05:53:18

I've a question for msvc users. Now, V2 works ok if you specify

using msvc : 6.5 ;

in user-config.jam. But if you write

using msvc ;

then it will works only if vcvasrs32.bat was called previously. Two people
already stumbled on it, and I think something should be done. The options are

1. Document the the second case ("using msvc ; ") works only if vcvars32.bat
were called.

2. If vcvars32.bat is in path, use that to find the path to compiler. Invoke
vcvars32.bat before all tool invocations. If vcvars32.bat is not in path,
look though default install location for versions 7.1, 7.0 and 6. If compiler
is found in any of locations, it will be used.

3. Try to sense if vcvars32.bat was already called. If so, use variables it
sets to find the path to compiler. If vcvars32.bat is not already called, use
logic from (2).

Can anybody comment on those variants or offer more alternatives?



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