How to compile for ARM with GCC on a x86 Linux.
Posted: 01-Feb-2024, 22:01
To build applications for ARM processors (Cortex-A) on a x86 Linux machine one should install cross-compiler version of GCC.
For Cortex-M and Cortex-R use:sudo apt-get install gcc-arm-linux-gnueabi
sudo apt-get install gcc-arm-none-gnueabi