[LLVMdev] Correct usage of isysroot argument

pmon mail pmon.mail at gmail.com
Wed Aug 29 07:03:25 PDT 2012


I'm do looking for the features the isysroot gives. I have
"/myownheaders/usr/include" and "/myownheaders/usr/local/include"
folders (they contain the actual header files).

Again, the strange that gcc seem to be working with it.

In the mean time I've found this
(http://lists.cs.uiuc.edu/pipermail/llvmbugs/2011-December/021136.html),
isn't it related?

> From: Joerg Sonnenberger <joerg at britannica.bec.de>
> Date: Wed, Aug 29, 2012 at 4:03 PM
> Subject: Re: [LLVMdev] Correct usage of isysroot argument
> To: llvmdev at cs.uiuc.edu
>
>
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
> --
> Quidquid latine dictum sit, altum videtur.



More information about the llvm-dev mailing list