Dima Stepanov via llvm-dev
2016-Dec-07 19:52 UTC
[llvm-dev] compiler-rt for aarch64 crossbuild
Hi All, My build host is x86_64 and i want to use it to build aarch64 applications. I'm a little bit stacked with building compiler-rt for aarch64. First of all I built llvm/cland/lld (4.0) for aarch64, with the following commands: $ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="AArch64" ../llvm $ make How can i build the compiler-rt library on this host using the llvm/clang/lld i built before? I tried different cmake variables, but it always finds only one x86_64 supported target. It seems to me that i'm missing something. I have no access to the aarch64 built host. Regards, Dima.
Bruce Hoult via llvm-dev
2016-Dec-07 21:24 UTC
[llvm-dev] compiler-rt for aarch64 crossbuild
It's not hard to get access to an Aarch64 build host if you want to. I've even tried building llvm on it. https://groups.google.com/d/msg/comp.arch/twdGdOcXrN0/lJeDIQdABQAJ On Wed, Dec 7, 2016 at 10:52 PM, Dima Stepanov via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi All, > > My build host is x86_64 and i want to use it to build aarch64 applications. > I'm a little bit stacked with building compiler-rt for aarch64. First of > all > I built llvm/cland/lld (4.0) for aarch64, with the following commands: > $ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release > -DLLVM_TARGETS_TO_BUILD="AArch64" ../llvm > $ make > > How can i build the compiler-rt library on this host using the > llvm/clang/lld > i built before? I tried different cmake variables, but it always finds > only one > x86_64 supported target. It seems to me that i'm missing something. I have > no access to the aarch64 built host. > > Regards, Dima. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161208/6e3d3099/attachment.html>