I'm trying to use clang to cross compile to 64 bit armv8. My clang version info is the following.
$ clang --version
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
The following work
clang -arch armv7
clang -arch arm64
But I have not been able to find how to build for armv8 64 bit, or even if it is supported.
If it is supported, how do I build for it? If it is not supported, what is the best approximation within clang?
Thanks! Damon
In clang, -arch arm64
means ARMv8 AArch64
. That is, the 64-bit version of the ARMv8 instruction set architecture.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With