What's the differences between Freescale and GNU compiler? If I designed the project using Freeescale compiler, how could I change the compiler to GNU in CW10.4?
Solved! Go to Solution.
please see attached document for how to port code from Freescale ARM comipler to GCC compiler, you can also find it under CW10 install\MCU\Help\PDF
this document for porting from ARM to GCC is very helpful, but in the linker file syntax for Freescale Linker the command "OBJECT" accessible. What is the equivalent command in the GCC-Toolchain.
The Freescale compiler is an ARM compiler made by Freescale and only supports the M4, but not the M0.
The GNU compiler is from ARM Inc, and supports the M4 and M0. Of course as they are different compilers, the options are different.
If you want to move over a project from one to another. I recommend that you create a new project with the wizard (File > New (Bareboard) Project) and then add your source files.
Hope this helps.