[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
Chao Yan
yanchao2012 at gmail.com
Sun Mar 29 01:14:47 PDT 2015
Hi,
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
libraries?
According to the following websites:
https://www.bountysource.com/issues/5139020-linux-arm-platform-support-missing-for-compiler-rt-cross-compiler
https://www.bountysource.com/issues/5139002-addresssanitizer-tests-fail-with-dllvm_targets_to_build-arm
It seems that the makefile does not support non-X86 targets. Someone tried
cmake failed as well. Any suggestions?
Thanks,
Chao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150329/40139fe9/attachment.html>
More information about the llvm-dev
mailing list