I have two "unlocked" devices, an iPad mini 3, and a Galaxy Edge 6, both endowed with a terminal and a minimalistic set of unix commands. I thought both devices have arm64 processors but when I ran
uname -a
on both devices I got the following :
for the iPad mini 3 :
xxxxs-iPad:/var/mobile root# uname -a
Darwin xxxx-iPad 14.0.0 Darwin Kernel Version 14.0.0: Wed Jun 24 00:50:15 PDT 2015; root:xnu-2784.30.7-30/RELEASE_ARM64_S5L8960X iPad4, **arm64**, J85mAP
for the Samsung Galaxy s6 Edge :
u0_a203@zerolte:/ $ uname -a
Linux localhost 3.10.61-4497415 #1 SMP PREEMPT Thu Apr 9 15:06:40 KST 2015 **aarch64** GNU/Linux
If I am not wrong, the last info in both case, J85mAP and GNU/Linux, stand for firmwares, and the antepenultimate infos, arm64 and aarch64, stand for the processors.
My questions are the following : obviously the strings "arm64" and "aarch64" are not the same, but I always thought arm64 and aarch64 were the same. (It's even told when you put the arm64 tag to a question here.)
So, are they really identical?
Especially, what should I worry about in case of cross-building libraries for both targets ? In fact, I have gcc 5.2.0 in mind, but maybe also lower versions. Can I just pass
-target=arm64
or
-target=aarch64
according to which device I target and just worry about the rest of options to configure?
EDIT Hum, look for this again, without success.
containerd
normalises "aarch64" to "arm64", so in that sense they're both the same github.com/containerd/containerd/blob/v1.2.6/platforms/…arm64
/aarch64
> because <reasons>", so that I don't have to support special logic in my parser to look for botharm64
andaarch64
:(