Link unused functions

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

Link unused functions

Jump to solution
593 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
481 Views
aratzrodriguezs
Contributor II

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

View solution in original post

0 Kudos
Reply
1 Reply
482 Views
aratzrodriguezs
Contributor II

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

0 Kudos
Reply