Reputation: 33
I am using aarch64-none-linux-gnu-gcc for compiling the applications on my Ubuntu 20.04. It has support for cortex-a and few other processor cores. But not on cortex-m4 (or cores which use armv7. Can anyone recommend or provide a link to the compiler installer which supports cortex-m4?
Upvotes: 0
Views: 1190
Reputation: 57922
The compiler for 32-bit ARM on Ubuntu is arm-linux-gnueabihf-gcc
or arm-none-eabi-gcc
, roughly according to whether you want to compile code to run on a Linux OS or on bare metal. Look for the packages gcc-arm-linux-gnueabihf
or gcc-arm-none-eabi
.
The aarch64
compilers only support 64-bit ARM.
Upvotes: 2