How to force CodeWarrior IDE 7.2 EWL Library to compile with standard_abi?

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

How to force CodeWarrior IDE 7.2 EWL Library to compile with standard_abi?

905 次查看
johnchan
Contributor I

Is there a setting in CodeWarrior IDE 7.2 so that all EWL library functions are compiled with standard_abi?

In the CodeWarrior IDE 7.0, setting the Coldfire Processor Parameter Passing to Standard solves this.

Is there way to accomplish this in CodeWarrior IDE 7.2?

 

Thanks,

 

John

标签 (1)
0 项奖励
回复
1 回复

845 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi John Chan

If you are still looking for this information, please refers at the following application note

http://www.nxp.com/files/soft_dev_tools/doc/app_note/TN268.pdf 

in the page 4 it said

The default parameter passing convention is Register, and it can not be changed from the "ColdFire Processor" panel.

But there are other available options, like using "function prototypes" or "pragma" to specify the calling convention.

You can also check the following links:

CW7.1 port to CW10.5, general purpose registers 

Could not find or load the file C_4i_CF_StdABI_MSL.a 

Hope this information helps you
Have a great day,
Jorge Alcala

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

0 项奖励
回复