The strip utility, strip6x, removes symbol table and debugging information from object and executable files.
To invoke the strip utility, enter the following:
strip6x [-p] input filename [input filename] |
strip6x | is the command that invokes the strip utility. | |
input filename | is an object file (.obj) or an executable file (.out). | |
options | identifies the strip utility options you want to use. Options are not case sensitive and can appear anywhere on the command line following the invocation. Precede each option with a hyphen (-). The strip utility option is as follows: | |
-ofilename | writes the stripped output to filename. | |
-p | removes all information not required for execution. This option causes more information to be removed than the default behavior, but the object file is left in a state that cannot be linked. This option should be used only with static executable or dynamic object module files. | |
When the strip utility is invoked without the -o option, the input object files are replaced with the stripped version. |