[LLVMdev] Cross-compiling the ARM toolchain

Anton Korobeynikov anton at korobeynikov.info
Tue Sep 21 15:24:23 PDT 2010


Hello, Emmanuel

> I'm used to build GCC (4.x) toolchains with newlib, but how can I do
> the same with llvm-gcc ?
Pretty much same way as with gcc. E.g. via --with-newlib, etc.

> It seems that clang attemps to find the header files from the host
> system dir, not from the target system dir, so I guess that I missed
> an important option ... somewhere.
clang is not pretty well suitable from cross-compilation. You can find
several issues on the way.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list