Click to See Complete Forum and Search --> : Stripping debug symbols from binaries


SubPar
11-20-2000, 12:30 AM
Out of curiosity, is there any reason for me to not to use the strip command to remove debug stuff from binaries and libraries? I've made copies of some libs and stripped them to check the size change (glibc reduced in size by ~75%!). I'm not going to strip the ones I use until I know for sure there won't be any harmful side effects. Will programs run faster or take less memory? Any adverse side effects, potentially? I'm not a programmer at all, but will I still need them if I need to make a bug report (for example, a backtrace after a crash in KDE2)? I'd just like to be informed before I start playing around with vital binaries.

ph34r
11-20-2000, 09:56 AM
DO NOT STRIP GLIBC! You will hose your system to the point of reinstalling. Infact, avoid stripping anything in /lib or any lib directory. Stripping debugs out of /bin or other bin dirs is ok, and can save lots of space.