<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59001>59001</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang doesn't detect MinWG sysroot installed in /usr/x86_64-w64-mingw32ucrt on Fedora
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
godvino
</td>
</tr>
</table>
<pre>
Fedora now ships MInGW UCRT toolchain starting from Fedora 37 (See https://fedoraproject.org/wiki/Changes/F37MingwUCRT). Its installed into `/usr/x86_64-w64-mingw32ucrt`. However clang doesn't search for the headers/libraries from this location leading to missing file errors.
`clang version 15.0.4 (Fedora 15.0.4-1.fc37)`
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUk2PmzAQ_TXmMgoydgzhwGGbVbZ72Es_tMfK4AHcOjiyTej--w4kVbV7KQJ78Hy8N2_cevPWnND4oGHyC8TRXiK8PE9Pr_D9-OUbJO9dN2o7QUw6JDsN0Ad_hnuOrICJw1dEGFO6RCYfmDjR22_uS_A_sUu5DwOdLfaXpe046mnASNZJVi9UcFmBmKhzeE4R7ERAzqEhK3lgJafIOQZafx_KH-V-t9B3XvOkmLuQKCKHz37BKwboHBUH4zFOTFQJIurQjdD7AGkkkqgNhhXb2TboYDHe2kmjjeB8p5P1EzgKWzsl_LONcWvaOgQMwYeYM_7I-MN9LfkNk9DjmluonOf7VZW7RLeDXZH3nayoTcrIsCnK8qB4JZXMTCNNLWudJZscNscPLRhMpCGQUq9PEN9i8D69Uwn-IxAQqxuXbA6ueT-owaZxbvPOn1dR3PXvtrvPjn5JgXmbl6o5L7Kx2RtTVX3X61r0B8HVvpBYt1WrjBa65n3mdIsuNkx9YkJMuMBWgmymHjPbCC5EURSq4IVSMuekdldoWdEjFQm053jW1uUrj_XuZKHZKLXzEMnpbEzxn1PTgIYJcYOj-npOow_N4M3VTj7boJuN-h-ud_IZ">