[cfe-dev] LLVM 3.8.0 clang binary for Windows targets VC++
Edward Diener via cfe-dev
cfe-dev at lists.llvm.org
Tue Mar 29 18:14:51 PDT 2016
On 3/29/2016 8:54 PM, Nico Rieck via cfe-dev wrote:
> On 30.03.2016 02:43, Edward Diener via cfe-dev wrote:
>> Is there any way I can use these binaries without them being targeted
>> for VC++ ( _MSC_VER will not be defined ) ? If not, are there any
>> distributed binaries for clang 3.8 on Windows listed anywhere on the web
>> which do not target VC++ ?
> You can explicitly specify the target triple, like this:
> clang -target i686-pc-windows-gnu (or x86_64-pc-windows-gnu)
That works. Thanks !
Still isn't distributing a clang Windows release which by default
targets VC++ for all clang invocations, and not just clang-cl, a bit of
a rude awakening for all those who have used clang on Windows with
mingw(-64)/gcc in the past ?
More information about the cfe-dev