You cannot expect things like that to work between compilers. The best way would of course be to write compiler-independent code in the first place, but it's too late for that now, you've already written it.
So the second best option if you want to use Code::Blocks is to set up the IDE to compile your program with the CodeWarrior compiler.
Last time I used CodeWarrior was around 1996-97, and that was on BeOS/PowerPC, too... so that is not very helpful. However, I'd be very surprised if they don't provide a documentation of their build tools. Actually you can hardly sell a compiler without providing docs.
With a little luck, they have commandline options similar to gcc or msvc, too. If you can find out about these, integrating the compiler should not be too much hassle.
EDIT: Oh wait... did not read properly once again, stupid me. You already use ARM :oops:
But it still boils down to the same thing, configuring the thing properly. If given the same options as in CodeWarrior, it should work in Code::Blocks, too.