X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Just to summarize, some of the things you can try to cut down PRC bloat:
a) turn off MacsBug symbols for release builds (set in the 68K Processor
panel).
b) use opts level 4, optimize for code size (set in the Global Optimization
panel).
c) Turn off A6 stack frames (68K Processor)
d) I also turn off symbolics (68K Linker) and browser info (Build Extras) as
standard procedure
e) inlining, especially for frequently used small functions also bloats code
f) there are probably some compiler pragmas as well that may help. Check out
the docs for more listings on the pragmas.
-- jkl
----- Original Message -----
From: "Mark A. Peters" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 10:05 AM
Subject: Re: Reducing Size of PRC
> There's also an "Optimize for code size" checkbox on the same preferences
> panel in CW that lets you set the opt level.
>
> Mark Peters
>
> in article 37054@palm-dev-forum, Scott Johnson (Bellevue) at
> [EMAIL PROTECTED] wrote on 1/24/01 6:33 PM:
>
> >
> >> From: Danny Epstein [mailto:[EMAIL PROTECTED]]
> >> set MacsBug Symbols to None in the 68K Processor target settings
> >> Depending on how verbose you are, this can have a significant effect.
> >
> > Especially in C++, because the MacsBug symbols use the mangled function
> > names that include the class name and parameter types.
> >
> > (This could possibly be misinterpreted as C++ "bloating" the code.)
> >
> > -slj-
> >
> >
> >
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/