Re: [coldfire-gnu-discuss] GCC and -mcpu -march error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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