[PATCH] D95534: clang-cl: Invent a /winsysroot concept

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 27 08:57:53 PST 2021


thakis added a comment.

Maybe we should just go with `Windows Kits/10" -- the space is only seen at the driver->cc1 boundary and it works fine there, and the 10 can be inferred from /winsdkversion.

On the other hand, thinking about how to create such a sysroot directory, saying "just copy %vctoolsinstalldir% to somedir/vctools and %windowssdkdir% to somedir/win_sdk" would be nice too.  On the other hand, it'd break relative paths from vc\tools\msvc\XXX to (say) vc\tools\llvm. I don't know if anything needs such relative paths.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95534/new/

https://reviews.llvm.org/D95534



More information about the cfe-commits mailing list