What is the differences between Freescale and GNU compiler?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

What is the differences between Freescale and GNU compiler?

跳至解决方案
1,901 次查看
danielchai
Senior Contributor I

Hi All,

 

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?

 

Thank you.

 

-Daniel

标签 (1)
0 项奖励
回复
1 解答
1,169 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,170 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
1,169 次查看
sven_kaemmer
Contributor III

Hi,

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.

Thanks.

0 项奖励
回复
1,169 次查看
BlackNight
NXP Employee
NXP Employee

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.

0 项奖励
回复