Daniel Morais <[EMAIL PROTECTED]> wrote:
> So I understand that the 'bfd' executable could be big, but does the .PRC
> file need also to be so big ?
The debugging information shouldn't make any difference to the size of
the PRC file. The debugger stub (the *linking* with `-g' part) does make
a difference, but only about 100 bytes.
> 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!
Note that GDB can still do a pretty good job of debugging if you leave
the optimizer on. You just have to modify your expectations a little --
a few variables might have been optimized out of existence, etc -- see
http://sources.redhat.com/gdb/onlinedocs/gdb_5.html#SEC16
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/