unknown cpu 'cortex-m0'

Ian Lance Taylor iant@google.com
Thu Feb 21 15:59:00 GMT 2013


On Thu, Feb 21, 2013 at 7:53 AM, ehuijben <evert.huijben@axon.tv> wrote:

> Assembler messages:
> Error: unknown cpu `cortex-m0'
> Error: unrecognized option -mcpu=cortex-m0
> make: *** [gdr216-01xx.elf] Error 1

Thanks.  No wonder these errors messages looked odd.  They are coming
from the assembler, not the compiler.  You need to build a newer
version of the assembler.  It looks like support for cortex-m0 was
added in GNU binutils version 2.20.

Ian



More information about the Gcc-help mailing list