Boost logo

Boost :

Subject: Re: [boost] [build] How to use with clang on windows?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-03-26 09:08:45


On 25/03/2016 20:02, Steven Watanabe wrote:
> AMDG
>
> On 03/25/2016 01:35 PM, John Maddock wrote:
>> What's the correct way to configure clang on windows with current
>> Boost.Build?
>>
> clang-win.jam isn't up-to-date for vc14.
> Try the attached patch.

Then the clang command disappears altogether and bjam tries to invoke:

          /DEBUG /subsystem:console
/out:"..\..\..\bin.v2\libs\config\test\config_info.test\clang-vc14-win-3.9.0\debug\config_info.exe"
@"..\..\..\bin.v2\libs\config\test\config_info.test\clang-vc14-win-3.9.0\debug\config_info.exe.rsp"

Plus the response file contains:

"config_info.cpp"
-Fo"..\..\..\bin.v2\libs\config\test\config_info.test\clang-vc14-win-3.9.0\debug\config_info.obj"
-TP /Od /Ob0 /W3 /GR /MDd /EHs -c
-DBOOST_ALL_NO_LIB=1
"-I..\..\.."

And I don't think those command line options are supported by clang?

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk