[LLVMdev] How to Cross compile llvm to ARM ?

Óscar Fuentes ofv at wanadoo.es
Wed May 11 06:17:34 PDT 2011


陳韋任 <chenwj at iis.sinica.edu.tw> writes:

>> This is actually not well working yet AFAIK.
>
>   I saw there is a buildbot for llvm-arm-linux on
>     http://google1.osuosl.org:8011/one_box_per_builder
>
>   How do it compile LLVM for ARM? Not using cross-compile?

If the problem lies on LLVM's makefiles, you can try cross compiling
with cmake:

http://www.llvm.org/docs/CMake.html#cross

It used to work for cross compiling to Windows (MinGW).




More information about the llvm-dev mailing list