wstrip

strip utility (WATCOM)

Syntax:

wstrip [options] input_file [output_file] [info_file]

Options:

-n
(noerrors) Don't issue any diagnostic message.
-q
(quiet) Don't print any informational messages.
-r
(resources) Process resource information rather than debugging information.
-a
(add) Add rather than remove information.

Description:

The Watcom Strip utility may be used to manipulate information that's appended to the end of an executable file. The information can be:

symbolic debugging information
placed at the end of an executable file by the Watcom Linker or the Watcom Strip utility.
resource information
placed at the end of an executable by a resource compiler or the Watcom Strip utility.

This information can be added or removed from the executable file.

The arguments for the wstrip utility are as follows:

input_file
is a file specification for the name of an executable file. If no file extension is specified, the Watcom Strip utility will assume one of the following extensions (shown in the order in which they are selected):
  • .exe
  • .dll
  • .exp
  • .rex
  • .nlm
  • .dsk
  • .lan
  • .nam
  • .qnx
  • or no file extension
output_file
is an optional file specification for the output file. If no file extension is specified, the file extension specified in the input file name is used for the output file name. If ``.'' is specified, the input file name is used.
info_file
is an optional file specification for the file:
  • in which the debugging or resource information is to be stored (when removing information) or
  • from which it is read (when adding information).

If no file extension is specified, a file extension of .sym is assumed for debugging information, and .res for resource information. To specify the name of the information file but not the name of an output file, use ``.'' as the output_file.

See also:

the Strip Utility chapter in the Watcom Compiler & Tools User's Guide