On 28 August 2013 01:18, pavan p m pm.pavan@gmail.com wrote:
Hello, Is there any LLVM cross-compiler built for ARM. If not, then could you provide some pointers where I could start creating one?
Hi Pavan,
Most binary releases cross-compile by default, so the chances that your current copy of Clang can already compile to whatever platform you want. But you'll need some additional tools (like binutils) and libraries (like libgcc and others) targeted to the correct architecture to make it work. LLVM should automatically pick up the right tools, headers and libraries if you specify --sysroot and --target options appropriately.
I'm assuming you want to cross-compile from x86_64 to ARM, in which case you'll need the arm-gcc toolchain. You can download it from http://releases.linaro.org/ or you can install directly from your package manager.
cheers, --renato