Link unused functions

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

Link unused functions

跳至解决方案
969 次查看
aratzrodriguezs
Contributor II

Hello,

 

I have a problem using Codewarrior for MPC55xx, MPC56xx 2.8 for MPC5643L Controller Board platform.

 

The problem is that when I debug the program into the platform, the linker does not include functions that have not been used even if code generation optimization is off. I want to know if is possible to the linker to include functions that have not been used when I debug to use them later.

 

Regards,

 

Aratz

标签 (1)
0 项奖励
回复
1 解答
857 次查看
aratzrodriguezs
Contributor II

I have resolved it using FORCEACTIVE{ } and FORCEFILES{} directives in the lcf file.

在原帖中查看解决方案

0 项奖励
回复
1 回复
858 次查看
aratzrodriguezs
Contributor II

I have resolved it using FORCEACTIVE{ } and FORCEFILES{} directives in the lcf file.

0 项奖励
回复