Згідно з інформацією, я знаю, що я можу подивитися на результат, uname -m
щоб знати, чи є моя ОС 32 або 64 біт, але в рамках ARM це дає:
armv7l
Я виводив із
file /usr/bin/ls
що я перебуваю на 32-бітній ОС, але як я можу це знати простішим способом?
uname -a
і gcc -v
? Вони можуть бути корисними.
Announced October 2011, ARMv8-A (often called ARMv8 although not all variants are 64-bit such as ARMv8-R) represents a fundamental change to the ARM architecture. It adds a 64-bit architecture, named "AArch64", and a new "A64" instruction set. AArch64 provides user-space compatibility with ARMv7-A ISA, the 32-bit architecture, therein referred to as "AArch32" and the old 32-bit instruction set, now named "A32" ARM announced their Cortex-A53 and Cortex-A57 cores on 30 October 2012.
- en.wikipedia.org/wiki/ARM_architecture#64.2F32-bit_architecture
ARMv8-A architecture, announced in October 2011,[6] adds support for a 64-bit address space and 64-bit arithmetic.
- wikipedia