[clang] [clang] Support --sysroot= for ${arch}-windows-msvc targets (PR #96417)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 28 01:52:13 PDT 2025
Andarwinux wrote:
Hi,
I also hope this PR can be merged, but considering the other comments, I don’t think this is the right direction.
I think what we might want is not "Support --sysroot= for ${arch}-windows-msvc targets," but a new target, maybe ${arch}-windows-msvcllvm, a.k.a. "MinCW"? This target is supposed to be fully ABI-compatible with MSVC, while it provides the GNU Clang user interface and directory layout. On top of fully ABI-compatible with MSVC, it is supposed to optionally supplement and replace the MSVC CRT/STL with high-quality LLVM runtimes.
I believe Chromium might be interested in this, which would greatly simplify their build system.
https://github.com/llvm/llvm-project/pull/96417
More information about the cfe-commits
mailing list