[cfe-dev] LLVM 3.8.0 clang binary for Windows targets VC++

Nico Rieck via cfe-dev cfe-dev at lists.llvm.org
Tue Mar 29 17:54:11 PDT 2016


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)


-Nico



More information about the cfe-dev mailing list