How to generated a .0 file on the code warrior

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to generated a .0 file on the code warrior

Jump to solution
1,979 Views
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.

Labels (1)
0 Kudos
Reply
1 Solution
1,877 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
4 Replies
1,878 Views
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 Kudos
Reply
1,877 Views
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 Kudos
Reply
1,877 Views
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 Kudos
Reply
1,877 Views
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 Kudos
Reply