|
Boost-Build : |
Subject: Re: [Boost-build] Problem when specifying msvc-9.0
From: Edward Diener (eldiener_at_[hidden])
Date: 2018-11-15 19:13:52
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
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk