[coldfire-gnu-discuss] GCC and -mcpu -march error

Maxim Kuvyrkov maxim at codesourcery.com
Mon Sep 21 16:10:38 UTC 2009


DarekM wrote:
> Hi,
> I installed GCC-4.3-208 on Ubuntu Linux and I have problem with compiling for MCF52233.
> When I use -mcpu=52233 options I getting message 
>     "as: unrecognized option '-mcpu=52233'"
> when i remove -mcpu=52233 a getting "as: unrecognized option '-mcpu=5206'" :/
> 
> Could You tell me what I doing wrong?

We can if you be so kind and include at least the command line in your 
message.

Generally you should compile like this (it works for me, btw):
$ m68k-elf-gcc -mcpu=52233 -c hello.c

--
Maxim




More information about the coldfire-gnu-discuss mailing list