strip
programStripping a library is essentially the same problem as stripping an object file. Only local and debugging symbols must be removed, or else linking against a stripped library will fail.
With GNU strip
, the `--discard-all' (or equivalent
`-x') flag will do the appropriate stripping, for both shared and
static libraries.
Here is a list of some other operating systems, and what their bundled
strip
programs will do:
netbsd*
hpux10*
strip
requires the `-r' and `-x' flags in order
to strip libraries.
Go to the first, previous, next, last section, table of contents.