Thanks for replying, I appreciate any advice you have.
I am using CodeWarrior R6. I tried it w/ Optimizations all the way up versus
Off, and with them off it ended up about 1k bigger. So the optimization
seems to help.
Thanks,
Jason
"Warren Young" <[EMAIL PROTECTED]> wrote in message
news:37040@palm-dev-forum...
>
> Jason Feinberg wrote:
> >
> > I'm wondering if there's a list anywhere of steps to take to try to
reduce
> > your PRC size. My app is about 24k and I'd like to try to get it down to
at
> > least 18 or so. I know the obvious things - big bitmaps, etc.. but
possibly
> > compiler settings, or tips/tricks/secrets/etc...
>
> It'd be helpful if you told us what development tool you're using.
> Assuming that you use GCC, then:
>
> Unlike most compilers, GCC's optimization options up to about -O2 tend
> to shrink the program size. (On most other compilers, cranking up the
> optimizations does things like loop unrolling and function inlining,
> which makes the program bigger.)
>
> If you gave more details, I'm sure we could come up with even more
> useful advice...
> --
> = Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
> = http://www.cyberport.com/~tangent/palm/faq/
> =
> = ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/