Thank you to all who replied.

Here are the results:

Original CW PRC
38,538 bytes

PRC-Tools with no compiler flags, COMPRESS for bitmaps
47,228 bytes

Add -fno-exceptions -fno-rtti flags
No change (not surprising since I am using straight C code)

Add -O1flag
39,272 bytes

Add -O2 flag
39,844 bytes

It looks like the -O1 and COMPRESS options get it within "striking distance".

DTL

On May 18, 2005, at 7:32 AM, David Linker wrote:

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/



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

Reply via email to