[lldb-dev] [cfe-dev] RFC: LLVM should require a working C++11 <thread>, <mutex>, and <atomic>

writeonce at midipix.org writeonce at midipix.org
Wed Sep 24 06:28:20 PDT 2014

On 09/24/2014 08:35 AM, Óscar Fuentes wrote:
> "writeonce at midipix.org"
> <writeonce at midipix.org> writes:
>> To address #1 in a somehow unorthodox manner: musl libc is expected
>> become available on NT at the end of 2014, or very early in 2015. Once
>> available, portable[*] projects that successfully build against musl
>> on linux (which occasionally requires a few patches, mostly due to a
>> project working around bugs in popular libc's in strange and
>> mysterious ways) should successfully build and execute on NT without
>> any source-level modifications.[**]  Below is additional technical and
>> general information about the project.
> MinGW(-w64) is not about compiling "portable" Linux software on Windows,
> it is about compiling Windows API/CRT software on Windows, just like the
> MSVC++ toolchain.
> IIUC what you propose is another Cygwin that imposes specific
> requirements on how software must be and requires "rebuilding the
> world". No thanks.
One important point you seem to be missing is the ability to 
cross-compile API/CRT software on Windows with a clang.exe which does 
not depend on msvcrt.exe.  From a technical perspective (and also with 
respect to many of its goals), the project differs from Cygwin in 
virtually every possible way (some key differences, as well as the 
distinction between mingw as a target and a libc++ _for_ mingw, can be 
found in my original message).

More information about the lldb-dev mailing list