tpoechtrager / wclang

Cross compile source code easily for Windows with clang on Linux/Unix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clang intrisics can't be found

SIMPalaxy opened this issue · comments

If I only run
x86_64-w64-mingw32-clang++
With no input, it will warn me that intrisics cannot be found
wclang: warning: cannot find clang intrinsics directory clang-8: error: no input files
If I compile with a input file. It will compile fine if there are no intrinsics in the program. But I will need said intrisics, both to call directly and to use headers like windows.h

Looking in /usr/x86_64-w64-mingw32/include/
intrin.h is available, but not x86intrin.h I don't know if that's relevant.

OS is Arch Linux

It seemed different. But ccache was messing this up, like another issue was suggesting.