What is the differences between Freescale and GNU compiler?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What is the differences between Freescale and GNU compiler?

ソリューションへジャンプ
1,975件の閲覧回数
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,243件の閲覧回数
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,244件の閲覧回数
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,243件の閲覧回数
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,243件の閲覧回数
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 件の賞賛
返信