STRIP(1) — USER COMMANDS
NAME
strip − remove symbol table, debugging and line number information from an object file
SYNOPSIS
strip [-x] filename...
DESCRIPTION
strip removes the symbol table and relocation bits ordinarily attached to the output of the assembler and linker. This is useful to save space after a program has been debugged. strip cannot be used on library files (.a), only on individual modules (.o).
OPTIONS
−x Strip stab information. Do not strip symbol table information. This option is useful when creating libraries to save symbol information but remove stab information. Resulting library will be slightly smaller in size when using this option.
C++ WARNING
Always use -x when stripping C++ compiled binaries and object files. In order to support the use of static initializers, including static constructors and destructors, a C++ module needs to have the related symbols contained within each object file or executable.
SEE ALSO
Sun Release 4.1 — Last change: 5 March 1994