<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 3, 2014 at 12:54 PM, Kim Gräsman <span dir="ltr"><<a href="mailto:kim.grasman@gmail.com" target="_blank">kim.grasman@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I'm assuming this is because the Clang/LLVM libraries are already<br>
built with the MinGW triple and my tool doesn't explicitly override<br>
the default triple.<br></blockquote><div><br></div><div>Hans built it with MSVC, but he set -DLLVM_DEFAULT_TRIPLE=i686-pc-mingw32 so that the gcc-compatible frontend for clang would emit Mingw ABI object files.  At the time that this flag was added, the MSVC ABI support was weaker.  Today, I'm more confident in it, so I think we'll revisit this decision for future builds.  If you do a normal CMake build of clang, the default ABI will match the toolchain you use to build Clang.</div>
</div></div></div>