relative value of stripping symbols
Luc Rooijakkers
luc at spcc386.UUCP
Fri Apr 21 20:51:59 AEST 1989
In article <17615 at cisunx.UUCP> jcbst3 at unix.cis.pittsburgh.edu (James C. Benz) writes:
>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?
Not in any way that I know off. Actually, *some* symbol tables are always
included in your executable, unless you use strip(1) or the -s option to ld.
Any reasonable *IX kernel would just skip the symbol table information
when loading your program. So, the only price is in disk space.
--
Luc Rooijakkers luc at spcc386.UUCP -or- uunet!mcvax!hp4nl!spcc386!luc
More information about the Comp.lang.c
mailing list