This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: unknown cpu 'cortex-m0'
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