How to generated a .0 file on the code warrior

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

How to generated a .0 file on the code warrior

跳至解决方案
1,980 次查看
lvyang
Contributor III

Now i want to compile a C file to ".O" file, but i don't find the way, i can't find the ".o" file in the result files.

Please help me, thanks.

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

Hello yang,

The ".o" file is under the corresponding folder under FLASH/RAM folder .

For example , if select build in FLASH:

pastedImage_2.png

Hope it helps


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,879 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello yang,

The ".o" file is under the corresponding folder under FLASH/RAM folder .

For example , if select build in FLASH:

pastedImage_2.png

Hope it helps


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,878 次查看
lvyang
Contributor III

Hello Alice,

Thans for your help, but our IDE versions seem to be different.

I can't search the ".o" files on all corresponding folders.

My IDE version is classic version for MPC5*** (2.10)

pastedImage_1.png

0 项奖励
回复
1,878 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello yang,

" In object file generation, the behavior is different in CodeWarrior for MPC5xxx and for HC12. For MPC5xxx, command-line compiler can generate separate object files but this is not available for the compiler plugin in CodeWarrior IDE. Such behavior is same with CodeWarrior for 56800/E as well. "

Hope it helps

Alice

0 项奖励
回复
1,878 次查看
lvyang
Contributor III

Thanks you very much,

Can you give me a link about the command-line tool and the relevant instructions to generate the object files.

0 项奖励
回复