[Gllug] My and my malloc() problems....
Pete Ryland
pdr at pdr.cx
Tue Jan 1 13:18:18 UTC 2002
On Sun, Dec 30, 2001 at 10:18:44PM +0000, tet at accucard.com wrote:
> >yes i know that, but with -ggdb on solaris, i do seem to recall
> >program binaries being much larger
>
> Yes, the on disk size is larger, but if I understand things correctly,
> the memory usage of the program shouldn't be affected. The debugging
> symbols aren't actually loaded unelss you're actually running the
> program under a debugger.
>
> Which is not to say I haven't seen different behaviour between programs
> compiled with -g and without -- I have (yes, with gcc), which makes
> debugging *really* difficult at times :-)
I've never seen this phenomenon myself, but what happens if you compile with
-g and then strip(1) the debugging stuff?
Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20020101/f921de53/attachment.pgp>
More information about the GLLUG
mailing list