Boost logo

Boost-Build :

From: Thomas Witt (witt_at_[hidden])
Date: 2003-05-08 06:33:43

Vladimir Prus wrote:
> 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.

When doing this you might want to use %ProgramFiles% instead of
hardwiring the path to the standard program directory. MS had the
exceptionaly clever idea of internationalizing the windows directory


Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet 
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001

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