At 11:54 AM -0800 2000/01/07, Scott Maxwell wrote:
> > No by the time we have apps, the names of static functions are long gone.
> > What source means is the same .c (or .cpp if you insist on that sort of
> > thing) file. For example, let's say you have two source files
>
>Not entirely true with the CW default settings. Almost all PRCs built with
>CW that I have looked at include all of the function names. This is a
>really stupid setting in CW since it is useless on the PC.
Well, not quite -- the MacsBug symbols to which you are referring are extremely useful
when debugging code outside CodeWarrior. At some point in the near future we will
release a Windows version of our Mac-based low level Palm OS debugger, which uses this
information copiously.
>HOT TIP: You can reduce your PRC size by 10-15% by setting MacsBug Symbol to
>None.
The percent reduction depends entirely on the number of functions in your application
and their length, but you are correct that most developers should disable this option
for their final production code, if saving every last byte of space is important to
you, and/or if you wish to make it more difficult for others to disassemble and
understand the code flow.
Regards,
Jim Schram
3Com/Palm Computing
Partner Engineering