also if you use c++ and don't use exceptions i will help if you will add
-fno-exceptions -fno-rtti

(it will also help with data segment, my application i tried didn't even link
with them)

Michael Hallett wrote:
> You should try using the m68k-palmos-gcc code optimization feature.  The
> switch is "-Ox" which is the letter "O" and "x" is a number 1, 2 or 3
> representing the level of optimization you choose.
> 
> Michael
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of David Linker
> Sent: Wednesday, May 18, 2005 10:33 AM
> To: Palm Developer Forum
> Subject: Code bloat with PRC-Tools?
> 
>     I have just migrated an application from CW to PRC-Tools. My  
> completed application was 38K with CW, but it is 51K with PRC-Tools!
> 
> If I add "COMPRESS" for the bitmaps, it is still 48K.
> 
> Are there some options I should be setting for smaller code size? I  
> looked in the documentation for m68k-palmos-gcc, build-prc and pilrc,  
> but could not find any others.
> 
> Thanks,
> 
> David Linker
> 
> 

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

Reply via email to