/usr/ccs/bin/strip
[
options
]
files
Remove information from ELF object files
or archive files
, thereby reducing file sizes and freeing disk space. The following items can be removed:
Symbol table
Debugging information
Line number information
Static symbol information
External symbol information
Block delimiters
Relocation bits
ELF versions of strip
provide facilities for removing only the first three items.
The following options refer to the previous list:
-b
Strip only Items 1, 2, and 3. This is the default.
-l
Strip only Item 3 (line number information).
-r
Strip Items 1, 2, 3, and 6. (Solaris: same as the default action: strip Items 1, 2, and 3.)
-V
Print the version number of strip
on standard error.
-x
Strip only Items 2 and 3.