<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 29, 2016 at 6:14 PM, Edward Diener via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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 ?</blockquote><div><br></div><div>Perhaps, but this has always been the default behavior if you build from source with MSVC for over two years now (r199250).</div><div><br></div><div>Basically, if you build clang with mingw it will target mingw by default. If you build clang with MSVC, it will target MSVC by default. This was deemed to be consistent with how clang works on other platforms, where you get a host compiler by default. Either way, you can override the default with --target.</div><div><br></div><div>It also happens that for a long time after that, Hans configured the builds at <a href="http://llvm.org/builds">llvm.org/builds</a> so that 'clang' targeted mingw by default, and 'clang-cl' targeted MSVC. We removed that flag from the packaging script some time ago, which probably confused some users.</div></div></div></div>