[clang] [clang] Support --sysroot= for ${arch}-windows-msvc targets (PR #96417)

via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 30 13:17:14 PDT 2025


trcrsired wrote:

> We don’t have to do anything in practice, [Xwin](https://github.com/Jake-Shadle/xwin) is already such a « script » and it already creates symlinks for all the casing issues and supports the /winsysroot layout if asked.
> 
> What is the advantage of using clang (not CL)? We’ve been telling users for years to not do that? —sysroot could just use the /winsysroot layout.

it does not make sense when you oppose a third party developer for providing a sysroot when you are literally doing the same.

Real advantages? I do not want to use clang-cl. full stop

https://github.com/llvm/llvm-project/pull/96417


More information about the cfe-commits mailing list