[PATCH] config.sub: Accept LLVM-style `$cpu-$vendor-windows-{gnu, mingw}`

2023-06-26 Thread John Ericson
In older times, MinGW (GCC toolchain with modified windows headers) was the only free software toolchain for Windows. But now, LLVM has excellent support both for MinGW ABI and Microsoft's own. (The distinction matters for C++ more than C.) LLVM[1], Rust[2], and other projects have taken to differ

Re: [PATCH] config.sub: Accept LLVM-style `$cpu-$vendor-windows-{gnu, mingw}`

2023-06-26 Thread John Ericson
For the record, this came out of https://github.com/NixOS/nixpkgs/pull/235230. I am one of the original/main authors of Nixpkgs/NixOS's platform specification system, and also a few years back contributed a major refactor/systematization of GNU config. (Look no further than the recent 63acb96f9

[PATCH] config.sub: Accept LLVM-style `$cpu-$vendor-windows-{gnu, mingw}`

2023-06-26 Thread John Ericson
In older times, MinGW (GCC toolchain with modified windows headers) was the only free software toolchain for Windows. But now, LLVM has excellent support both for MinGW ABI and Microsoft's own. (The distinction matters for C++ more than C.) LLVM[1], Rust[2], and other projects have taken to differ