[coldfire-gnu-discuss] MCF52233
David Brown
david at westcontrol.com
Fri Nov 24 14:22:45 UTC 2006
Mats Blide wrote:
> What compiler switch to use for coldfire MCF52233. Tried –m5200 but when
> trying the code in GDB I get:
>
> “
> (gdb) set $pc=start
> Current language: auto; currently asm
> (gdb) cont
> Continuing.
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x4408271c in ?? ()
> “
>
> The switch I used –m528x made runnable code, but the code I now try to
> assemble contains reference to RAMBAR1 giving me compilation error with
> switch –m528x but not with –m5200. I’m a complete beginner with GNU
> tools and coldfire. So this might be a stupid question, but any help is
> appreciated.
>
> Rgds
> Mats
>
Try the -mcpu=52233 switch instead of the -m52xx - that way you can be
sure you are getting the write options.
More information about the coldfire-gnu-discuss
mailing list