Link Order View-code warrior

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

Link Order View-code warrior

781 Views
georgemathew
Contributor II


The Link Order view of the Project window shows information about
how the IDE will compile or link the final output file for the project's current build
target.
The IDE links the files in order from top to bottom. For example, if file B depends on
file A, make sure that the Link Order view lists file B below file A.

 

what it means

Labels (1)
0 Kudos
5 Replies

580 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

The IDE links the files in order from top to bottom in CW "Link Order" tab.

the file on the top is linked before the files on the bottom.

thus with this link order,  the variable/function in the prior linked file will be recognized first.

"link order" defines a priority that searching variable/function in files.


Have a great day,
Jennie Zhang

 

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

0 Kudos

580 Views
georgemathew
Contributor II

if the link order is wrong, is it results in wrong output?

0 Kudos

580 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

yes.

0 Kudos

580 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi George,

Could you tell us which MCU and CodeWarrior version are you using?

Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos

580 Views
georgemathew
Contributor II

codewarrior 5.1,  controller-MC9S12A128

0 Kudos