[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
yanchao2012 at gmail.com
Sun Mar 29 01:14:47 PDT 2015
I've cross-compiled musl-libc to arm binaries with clang. It needs
functions from static runtime library "libcompiler_rt.a". I tried to build
compile_rt outside the llvm source tree. Using command like "make
clang_linux", I can easily build "libcompiler_rt.a" for my host machine,
which is X86_64. But how can I *cross-compile* the compiler_rt runtime
According to the following websites:
It seems that the makefile does not support non-X86 targets. Someone tried
cmake failed as well. Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev