|
Boost : |
Subject: Re: [boost] [build] How to use with clang on windows?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-03-26 13:24:48
> That should be calling link.exe, not clang.
> If you're getting here, it means that compiling
> succeeded.
Not so fast.... the actual command line generated is:
compile-c-c++
..\..\..\bin.v2\libs\config\test\config_info.test\clang-vc14-win-3
.9.0\debug\config_info.obj
@"..\..\..\bin.v2\libs\config\test\config_info.test\clang-vc14-win-3.9.0\debug\config_info.obj.rsp"
So the @ causes the line to be ignored I think?
> This seems like msvc.configure-version-specific
> is getting skipped. What does --debug-configuration say?
notice: will use 'C:/Progra~2/MICROS~4.0/VC/Clang 3.7/bin/x86/clang.exe'
for clang-win, condition <toolset>clang-win-3.7-vc14
notice: [clang-cfg] condition:
'<toolset>clang-win-3.7-vc14/<architecture>/<address-model>', setup:
'call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" x86 > nul'
notice: [clang-cfg] condition:
'<toolset>clang-win-3.7-vc14/<architecture>/<address-model>32', setup:
'call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" x86 > nul'
notice: [clang-cfg] condition:
'<toolset>clang-win-3.7-vc14/<architecture>x86/<address-model>', setup:
'call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" x86 > nul'
notice: [clang-cfg] condition:
'<toolset>clang-win-3.7-vc14/<architecture>x86/<address-model>32',
setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" x86 > nul'
notice: [clang-cfg] condition:
'<toolset>clang-win-3.7-vc14/<architecture>/<address-model>64', setup:
'call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" x86_amd64 > nul'
And user-config.jam has:
using clang-win : 3.7 : "C:/Progra~2/MICROS~4.0/VC/Clang
3.7/bin/x86/clang.exe" : <cxxflags>-std=c++11 <compatibility>vc14 ;
Thanks, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk