[LLVMdev] Basic question- cross compiling LLVM

Xerxes RĂ„nby xerxes at zafena.se
Mon Jul 20 05:22:11 PDT 2009


Carter Cheng skrev:
> This is probably another very basic question- but is there a simple method for cross compiling LLVM for another platform? 
>
> Thanks in advance.
>
>
>       
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>   
You can try Misha Brukman's cross compile scripts as mentioned in the
CROSS COMPILING LLVM thread:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-June/022989.html

Personally i use Open Embedded to crosscompile llvm for ARM.
http://wiki.openembedded.net/index.php/Main_Page

To what target do you want to crosscompile llvm?

Cheers
Xerxes




More information about the llvm-dev mailing list