$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Boost.Build and Microsoft C2 clang
From: Tom Westerhout (kot.tom97_at_[hidden])
Date: 2017-06-27 08:23:33
On 27/06/2017, Peter Dimov via Boost <boost_at_[hidden]> wrote:
> This is what I have in my user-config from earlier tests:
>
> using clang : 14.1 :
> "C:/Program Files (x86)/Microsoft Visual
> Studio/2017/Community/VC/Tools/ClangC2/14.10.25903/bin/HostX86/clang.exe" :
> <linkflags>-v
> <linkflags>"-fuse-ld=\"C:\\Program Files (x86)\\Microsoft Visual
> Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.25903\\bin\\HostX86\\link.exe\""
>
> ;
Somehow clang decides to prepend target to the linker command:
"i686-pc-windows-msvc-C:\\Program Files (x86)\\Microsoft Visual
Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.25017\\bin\\HostX86\\x86\\link.exe"
gets called in place of
"C:\\Program Files (x86)\\Microsoft Visual
Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.10.25017\\bin\\HostX86\\x86\\link.exe"
Clang then complains that the program is not executable. Well, obviously,
it is not. Do you know how to work around this issue?
Tom