[cfe-dev] Changed install dir

Billy Araujo via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 26 11:22:06 PDT 2020


Hi,

I build my own tool app based on clang tooling but I get stddef.h not found
sometimes.
I compile with clang compiler but the compiled tool seems to be looking in
gcc folders. How do I change the installedDir path to look up clang folders
and find stddef.h?

clang version 11.0.0 (https://github.com/llvm/llvm-project.git
0160ad802e899c2922bc9b29564080c22eb0908c)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
Found candidate GCC installation: /../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /../lib/gcc/x86_64-linux-gnu/9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /../lib/gcc/x86_64-linux-gnu/9
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64

Regards,

Billy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20201026/924eb709/attachment.html>


More information about the cfe-dev mailing list