webshaker
webshaker

Reputation: 169

GNU Arm Embedded Toolchain and aarch64

How can I compile a C code or an assembly code to AArch64 using the GNU Arm Embedded Toolchain,

I'd like to try some bare metal rPi 64 bit code.

I found Linaro Toolchain that seem's to do that but I guess the Arm Embedded Toolchain must be able to do that too.

Thanks

Upvotes: 1

Views: 1174

Answers (1)

Frant
Frant

Reputation: 5895

You should use this toolchain - the Arm Embedded Toolchain is for cortex-m/cortex-r microcontrollers, not for aarch64 cortex-a processors.

An excellent introduction to aarch64 on RPI3 would be to look at David Welch's excellent, ready to use bare-metal examples here - more specifically at the Raspberry Pi 3 / Aarch64 examples.

Upvotes: 1

Related Questions