relative value of stripping symbols
Bill Stewart 201-949-0705 ho95c.att.com!wcs
wcs at cbnewsh.ATT.COM
Tue May 2 11:19:41 AEST 1989
In article <1484 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
] This is a UNIX question, not a C question....
] > Just a little question of some interest. Suppose I have a C program that
] > when compiled with the -g option (debugging symbols left in) (this is ATT
] > Unix Sys V). Does leaving these symbols in the file affect program
] > performance?
] No.
Well, yes, actually. The symbols themselves don't cause the problem, but
most compilers turn off optimization if you compile with the -g option.
So you do end up with slower code.
Bill
--
# Bill Stewart, AT&T Bell Labs 2G218 Holmdel NJ 201-949-0705 ho95c.att.com!wcs
# also found at 201-271-4712 tarpon.att.com!wcs
# welcome, to mars, eh, hosers! Have a brew and some donuts, eh?
More information about the Comp.unix.questions
mailing list