[Linux-users] Strip ...
Kurt Wall
kwall
Thu Aug 16 11:01:37 PDT 2007
On Thu, Aug 16, 2007 at 12:46:31PM -0500, Ben Duncan wrote:
> I came across a Slackware Install script where the author was
> using "strip --strip-unneeded" against all of the objects.
>
> I know that 'strip' is suppose to help reduce the size of OBJECTS, but
> on modern systems with BIG hard drives, is that still necessary?
No. Stripping binaries isn't just about reducing disk footprint, though.
Debug binaries require more RAM and are usually slower. However, given
the amount of RAM on most systems and the speed of CPUs these days, neither
of these are major issues. That said, debug binaries are sometimes more
sensitive to error conditions -- in this case, though, the solution is
to compile release binaries that don't have debugging symbols and
debugging code enabled in the first place.
Kurt
--
In the stairway of life, you'd best take the elevator.
More information about the Linux-users
mailing list