MPLAB C18 Libraries

Status
Not open for further replies.

Exo

Active Member
Hello,

When using microchips standard libraries included with the compiler (for usart, i²C,...) it seems to incorporate the entire library into the produced hex file , even if i only use 1 function..

For example, my program uses 200 program memory words, and i include a certain library but only use 1 function out of it, the compiler will put the entire library into my hex file, making my program 4000 words or so...

Does any1 know a way (command line switches? ) to make it only include the functions i call?
 
which version are you using?

have you tried discussing this in the Microchip forums? **broken link removed**
 
version 2.40

didn't ask it in MC's forum yet, thought i'd see what my favo forum had to say first
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…