[LLVMdev] Correct usage of isysroot argument
Joerg Sonnenberger
joerg at britannica.bec.de
Wed Aug 29 06:03:53 PDT 2012
On Wed, Aug 29, 2012 at 03:54:47PM +0300, pmon mail wrote:
> When I'm using clang 3.1 with the isysroot argument, it doesn't seem
> to pick up header files from the directory I'm passing through the
> command line:
>
> > $ clang -isysroot/myownheaders -v foo.c -c -o foo.o
This means that all default include paths should be prefixed with
/myownheaders. Are you sure you don't mean -isystem/myownheaders?
Joerg
More information about the llvm-dev
mailing list