HowTo: LLVM-based cross compiler

From LLVM

Jump to: navigation, search

[edit] General strategy

  • Cross-compile binutils
  • Cross-compile glibc (or newlib)
  • Compile llvm-gcc as a cross-compiler using the above
  • Compile LLVM as you normally would: LLVM is target-platform agnostic and can support arbitrary platforms in the same LLC binary

[edit] x86 (and x86_64) to ARM

Outstanding LLVM ARM bugs:

Personal tools