> Another thing I noticed occurs when using the -sysroot option. clang then
> tries to use $sysroot/usr/include. In my oppinion it should use
> $sysroot/include instead.
I could be wrong here, but --sysroot and --isysroot (with some hand
waiving) means use /usr/include to find headers and
/usr/lib
Take a look at the "Toolchain Options" and "Target-Specific Libraries"
sections here:
http://clang.llvm.org/docs/CrossCompilation.html
Which will show you how to tell the compiler where to find stuff for your
target system.
hth...
don
On Tue, Sep 22, 2015 at 11:38 AM, Andreas Messer via cfe-u
Hello everybody,
I'm currently planning to use clang to compile my ARM projects. One bug I
found in clang 3.5 - it tried to link the elf using the host's instead of the
target's linker - is fixed in trunk source. Unfortunately I found an issue with
the include files which - in my oppinion - is