unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



strip(1)							     strip(1)



NAME

  strip	- Removes symbols and relocation bits

SYNOPSIS

  strip	[-V] file...

STANDARDS

  Interfaces documented	on this	reference page conform to industry standards
  as follows:

  strip:  XCU5.0

  Refer	to the standards(5) reference page for more information	about indus-
  try standards	and associated tags.

OPTIONS

  -V  [SVID 3]	Displays the version number of the strip command.

DESCRIPTION

  The strip command removes the	symbol table and any strippable	subsections
  of the .comment section, including compact relocation	information ordi-
  narily present in executable files. This is useful to	save space after a
  program has been debugged.

  The effect of	strip is the same as use of the	-s option to cc, c89, or ld.

  Note that the	strip command will not strip executables with unresolved
  relocation entries. It also does not handle archive files.

EXIT STATUS

  0 (Zero)
      Success.

  >>0  An error occurred.

ENVIRONMENT VARIABLES

  The following	environment variables affect the behavior of strip:

  LANG
      Provides a default value for the locale category variables that are not
      set or null.

  LC_ALL
      If set, overrides	the values of all other	locale variables.

  LC_CTYPE
      Determines the locale for	the interpretation of byte sequences as	char-
      acters (single-byte or multibyte)	in input parameters and	files.

  LC_MESSAGES
      Determines the locale used to affect the format and contents of diag-
      nostic messages displayed	by the command.

  NLSPATH
      Determines the location of message catalogs for processing of
      LC_MESSAGES.

  TMPDIR
      Determines the directory where a temporary file will be created (if
      needed). If not set, the current working directory is used.

SEE ALSO

  Commands:  ar(1), cc(1), c89(1), ld(1), mcs(1)

  Standards:  standards(5)