[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The state of Arm64 on Raspberry Pi (and its Documentation



On Thu, Apr 16, 2020 at 07:58:29PM +0200, deloptes wrote:
> I think this is the answer
> https://wiki.debian.org/Arm64Port#Nomenclature_and_defines
> 
> If your package does architecture-specific things explicitly then you will
> need to understand what names to use in tests.
> 
> The gnu name for the architecture (as given to configure) is
> aarch64-linux-gnu.
> 
> The debian name for the architecture is arm64
> 
> GCC defines __aarch64__ for the architecture.
> 
> Be careful of things which check for arm* in debian architecture tests, as
> it is usually wrong to do the same thing for arm64 as for 32-bit arm
> (arm/armel/armhf). In general, if you are not sure, you should do the same
> thing as on amd64 as that matches quite closely (64 bit, little endian,
> 32-bit ints and floats, 64-bit pointers, longs and doubles).
> 
> Check the link below for 'upstream package porting' to see if your package
> has had porting attention from Linaro.
> 
> There is also a big-endian version of the architecture/ABI:
> aarch64_be-linux-gnu but we're not supporting that in Debian (so there is
> no corresponding Debian architecture name) and hopefully will never have
> to. Nevertheless you might want to check for this by way of completeness in
> upstream code. 

Well a lot of people looking for 64bit arm support would look for arm64,
while aarch64 is technically the name, it sure doesn't scream "arm"
at a user.

Besides there is i386 which intel retroactively called IA32, and then to
confuse everyone decided IA64 was itanium, not the 64bit version of x86.
Lots of people tried to install ia64 debian on 64 bit x86 machines
over the years.  Debian calls it amd64 while gcc calls it x86_64 and
intel calls it em64t or maybe now they changed it to "intel 64", not
sure actually.

-- 
Len Sorensen


Reply to: