I found it,

By changing the settings->68k processor->MacsBug Symbols  to: none,
I reduced about 15% of my application size!

I wonder why there isn't a compile for release option or at least better
documentation for the CW.

thanks a lot!
yoel.

-----Original Message-----
From: Richard Anderson [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 10:39 AM
To: Palm Developer Forum
Subject: RE: bigger function names make bigger applications


I cant remember where it is currently and I havent got code warrior going at
the moment.  I think it is something to do with Mac Debug Symbols.

> -----Original Message-----
> From: Yoel Lanir [SMTP:[EMAIL PROTECTED]]
> Sent: 02 July 2001 10:39
> To:   Palm Developer Forum
> Subject:      RE: bigger function names make bigger applications
> 
> How do I do this?
> In the settings -> global optimizations I set the optimization to level 4,
> smaller code size.
> 
> -----Original Message-----
> From: Richard Anderson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 10:08 AM
> To: Palm Developer Forum
> Subject: RE: bigger function names make bigger applications
> 
> 
> Try building it without any debug symbols. Its probably only the debug
> sysbols making it bigger !!!. The functions will be represented as
> addresses, which are always the same size (platform dependant).
> 
> Rik
> 
> > -----Original Message-----
> > From:       Yoel Lanir [SMTP:[EMAIL PROTECTED]]
> > Sent:       02 July 2001 10:06
> > To: Palm Developer Forum
> > Subject:    bigger function names make bigger applications
> > 
> > Hi all,
> > 
> > I was looking at my prc file as a text file, and I was surprised to see
> > that
> > the function names are embedded inside the prc file.
> > A quick test assured that if I reduce the size of a function name, the
> > application reduces size.
> > 
> > Does anyone know of a tool that optimizes code generation to make
> smaller
> > prc files, in a way that it copies my big function/class names to
> smaller
> > generated ones? (like java that has several tools which do this)
> > 
> > or maybe the CodeWarrior has an option I missed that does this?
> > 
> > I am using CW7 and C++.
> > 
> > regards,
> > yoel.
> > 
> > -- 
> > 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/
> 
> -- 
> 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/

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

Reply via email to