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

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



deloptes wrote:


> 
> So what can the community rule out here. Is it aarch64 and arm64 the same
> or not?

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. 


Reply to: