Go to advanced search

by erlkingh
Sun Dec 02, 2018 3:46 pm
Forum: Bare metal, Assembly language
Topic: [SOLVED] Unable to cross compile assembly
Replies: 2
Views: 1686

Re: Unable to cross compile assembly

Yeah, that was the case.

I changed the toolchain to aarch64-linux-gnu, everything works fine.

My mistake was downloading a toolchain for the Cortex-RM processors.

Guess It’s solved now.
by erlkingh
Sat Dec 01, 2018 7:21 pm
Forum: Bare metal, Assembly language
Topic: [SOLVED] Unable to cross compile assembly
Replies: 2
Views: 1686

[SOLVED] Unable to cross compile assembly

I'm unable to compile using arm-none-eabi-gcc toolchain. The error I get is: boot.S: Assembler messages: boot.S:7: Error: ARM register expected -- `mrs x0,mpidr_el1' boot.S:8: Error: ARM register expected -- `and x0,x0,#0xFF' boot.S:9: Error: selected processor does not support `cbz x0,master' in AR...

Go to advanced search