This little Python tool uses cppyy
(which by itself uses Cling, the C++
interpreter) to dynamically interpret the system's
elf.h.
It reads an ELF binary's e_machine header field and converts it to an
AppImage-style architecture name.
AppImage does not use any "standardized" scheme (unlike, for instance, Debian, the Linux kernel), but uses a mix of them.
Currently supported architectures:
i686x86_64armhfaarch64