strip symbol table, debugging and line number information from an object file
strip [-lVx] file . . .
command strips the symbol table, debugging information,
and line number information
from ELF object files; COFF object files can
no longer be stripped.
stripping process has been done, no symbolic debugging access
will be available for that file; therefore, this command is
normally run only on production modules that have
been debugged and tested.
If strip is executed on a common archive file
in addition to processing the members,
strip will remove the archive symbol table.
symbol table must be restored by executing the
command with the -s
option before the archive can be
linked by the
will produce appropriate warning messages when this
The amount of information stripped from the ELF object file
can be controlled by using any of the
Strip line number information only;
do not strip the symbol table or debugging information.
Print, on standard error, the version number of strip.
Do not strip the symbol table;
debugging and line number information may be stripped.
strip is used to reduce the file storage
overhead taken by the object file.
usually /var/tmp but can be redefined by setting the
[see tempnam in
The symbol table section will not be removed if it is contained
within a segment, or the file is either a relocatable
or dynamic shared object.
The line number and debugging sections will not be removed if they
are contained within a segment, or their associated relocation
section is contained within a segment.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005