You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now clang's --sysroot argument doesnt do anything on Windows targets. I am cross compiling Windows applications from Linux (using Windows headers and libraries downloaded using xwin) and having to use a bunch of -I and -L flags isn't ideal. clang-cl's /winsysroot argument helps to reduce the number of arguments that should be passed while cross compiling but using clang-cl isn't ideal on non Windows systems partly because of its Windows-style arguments. It would be nice if clang's --sysroot argument became equivalent to the /winsysroot argument of clang-cl when target is set to Windows.