<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">For compiling clang I always have used MSVC. Just run the CMake configure step from a command window that has been set up for the version of Visual Studio you're using (i.e., the vcvarsall.bat script has been run).</div><div class=""><br class=""></div><div class="">For building with clang, it should support either: clang-cl.exe looks for VS headers by default (again, assuming the environment is set up for VS), clang.exe looks for mingw headers. You can make clang.exe and clang++.exe use VS headers by setting the target to something like "-target <span style="color: rgb(32, 32, 32); font-family: arial, sans-serif; font-size: 13px; line-height: 18.200000762939453px; background-color: rgb(255, 255, 255);" class="">i686-pc-windows-msvc".</span></div><div class=""><br class=""></div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 20, 2014, at 10:26 AM, Chris <<a href="mailto:jesdisciple@gmail.com" class="">jesdisciple@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi there. For compiling C++ in Clang on Windows (8, in case it matters), what's the recommended implementation of the standard library? I have msvc 2013 and MinGW 4.8.2, and I would be willing to checkout libc++ and compile it if it's not still a world of hurt.</div><div class=""><br class=""></div><div class="">I tried copying the standard library from my MinGW installation to one of the paths Clang seemed to be looking for includes, but that didn't work. The best I got was silent failure, after I butchered the directory structure in reaction to errors.</div><div class=""><br class=""></div><div class="">I hope this thread gets crawled by Google, because nothing recent shows up there.</div><br clear="all" class=""><div class=""><div class="gmail_signature">Want what you have,<br class="">Chris</div></div>
</div>
_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@cs.uiuc.edu" class="">cfe-dev@cs.uiuc.edu</a><br class="">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>