[llvm-dev] Clang includes search path

Rinaldini Julien via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 12 07:13:19 PDT 2015


Hi,

I’m trying to set the includes search path in clang, but I can’t figure out how to do it?

I’m working on OSX and every time I compile a C/C++ code, I have to specify it with -isysroot (and I don’t want an alias, or a symlink to /usr/include) since the includes are not in a really standard path on OSX (e.g.: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++).

Is there a way to do that?

Thx


More information about the llvm-dev mailing list