I thought one of the more charming features of the C programming language
was that the linker strips out functions that are never called.  Even
from static libraries.

It depends on the linker. CodeWarrior's linker will remove all functions that aren't called, but the way PRC-Tools produces object files, you would have to build each function in a separate .c file in order to get complete dead-stripping.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to