a little tip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Jul 2002, Alex Snow wrote:

> Hi.
>
> Wow that does save a lot of disk space, but one question:
> how do you strip a binary?

Easy.  You type "strip filename."  Works for most executables and
libraries.  Most of the binaries that ship with distros are already
stripped.  A trick to see if any aren't is to do this.  Change to a
directory with programs like /usr/bin and type "file * | grep "not
stripped."  You'll see all the file descriptions that contain the phrase
"not stripped."  There are a few in Slackware, and of course, check
/usr/local/bin since that's where most of the stuff you build ends up.  By
the way, Centericq may have been an extreme case, but it doesn't hurt
anyway.  Just do an "ls -l" before and after, or better yet, "ls -lh."
That's a neat mode that is specific to GNU versions of ls.






[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux