Page 1 of 1

How to compile for ARM with GCC on a x86 Linux.

Posted: 01-Feb-2024, 22:01
by Administrator
To build applications for ARM processors (Cortex-A) on a x86 Linux machine one should install cross-compiler version of GCC.
sudo apt-get install gcc-arm-linux-gnueabi
VSCode-GCC-ARM.png
VSCode-GCC-ARM.png (14.86 KiB) Viewed 3435 times
For Cortex-M and Cortex-R use:
sudo apt-get install gcc-arm-none-gnueabi