Re: Problem when specifying msvc-9.0

Edward Diener via Boost-build <[email protected]> Thu, 15 Nov 2018 14:13:52 -0500
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
On 11/15/2018 12:32 PM, Steven Watanabe via Boost-build wrote:
> AMDG
> 
> On 11/15/2018 10:20 AM, Edward Diener via Boost-build wrote:
>> <snip>
>> The b2 output for msvc-9.0 starts as:
>>
>> <snip>
>>
>>       cl /Zm800 -nologo
>> @"C:\Programming\build\modular-boost\boost\bin.v2\libs\preprocessor\test\arithmetic.test\msvc-9.0\debug\threading-multi\arithmetic.obj.rsp"
>>
>>
>> 'cl' is not recognized as an internal or external command,
>> operable program or batch file.
>> <snip>
>>
>>
>> You can clearly see that the 'call' line is missing from the msvc-9.0
>> output so naturally 'cl' is not recognized.
>>
> 
> What does --debug-configuration say?

The problem is that the VS2008 installation, which is msvc-9.0, did not 
place a cl.exe in its "C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\bin" directory. Instead it placed its cl.exe for x86 in its 
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\x86_amd64" 
directory and placed its cl.exe for x64 in its "C:\Program Files 
(x86)\Microsoft Visual Studio 9.0\VC\bin\amd64" directory.

Therefore since msvc.jam is using the finding of the cl.exe in vc/bin 
directory as an indication of the presence of an msvc toolset, it does 
not find the msvc-9.0 toolset.

> 
> In Christ,
> Steven Watanabe

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build