Porting from IAR to ARM-GCC

Has anyone ported C code from IAR to a plain vanilla GNU-GCC environment?

I am using Codesourcery and want to port an IAR example to it. At present, I have many errors. the header file “inarm.h” is missing, to start.

Suggestions, please?

best regards,

Peter