Hi again !

Mardi 27 Mars 2001 15:33, John Marshall a écrit:

> > Ok, unoptimized code is bigger than optimized one, but it seems the .PRC
> > file contain also a lot of debugging informations, as it size has changed
> > a lot : the code grows from 18 Kb to 37 Kb ( twice it's size ! )
>
> What language are you using?  What compiler options?  I wouldn't expect
> to see anything like those numbers!

I'm using C, but you was right, the size growing is not due ( directly ) to 
debug informations.

Code size depending on compilation options ( and debug/release target ):

Release : -O2      => 18800
Release : -O0      => 31040
Debug   : -O2 -g => 22884
Debug   : -O0 -g => 36136

In fact, my problem was not really debug informations, but the fact that when 
compiling for debug, tons of assert macros I put in the code are validated !

Thanks for making me understand my own code !
:-)

-- 
Daniel Morais

-- 
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