<div dir="ltr">AKA: MinGW + win32threads is holding LLVM (and all of its subprojects) back. We need to stop supporting this host platform.<div><br></div><div>I'm aware of essentially 2 reasonably important use cases for supporting MinGW + win32threads:</div><div><br></div><div>1) Sane host toolchain on Windows that doesn't require downloading MSVC. (I'm dubious about the value of this one...)</div><div><br></div><div>2) Cross-compiling a Windows clang.exe (and other tools) from a Linux (or other host) box.</div><div><br></div><div>Are there others? (And thanks to Reid for explaining these to me!)</div><div><br></div><div><br></div><div>I'm somewhat dubious about #1, but if we address #2 it will address any concerns with #1 anyways.</div><div><br></div><div>I would like to propose that we finish implementing libc++ sufficiently to host Clang on Windows using native Windows APIs to implement things. Then we document very clearly what is required to download the basic Windows SDK and cross compile Clang (and any other tools) for Windows using just libc++ and the SDK. No need for MSVC bits, etc. Would this be acceptable?</div><div><br></div><div>If not, would it be acceptable to use libc++ on top of mingw (so just avoiding libstdc++)? I *really* don't want to spend lots of time going there because it seems like a low-value platform, but we can.<br></div><div><br></div><div>Anyways, I want to tease out anything else required here because if this is all we need, I think we can make it a reality and get to a much saner platform.</div></div>