HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
s
strip(1) strip(1)
If any internationalization variable contains an invalid setting,
strip behaves as if all internationaliza-
tion variables are set to
C. See environ(5).
In addition, the following environment variable affects
strip:
TMPDIR
Specifies a directory for temporary files (see tmpnam(3S)).
International Code Set Support
Single- and multi-byte character code sets are supported.
DIAGNOSTICS
strip: name: cannot open
name cannot be read.
strip: name: bad magic
name is not an appropriate object file.
strip: name: relocation entries present; cannot strip
name contains relocation entries and the -r option was not specified.
Symbol table information cannot be stripped.
EXAMPLES
Strip symbol table and debug information from the shared library libfoo.sl in the current directory to
reduce its size. Symbol information required to use the library is preserved:
strip ./libfoo.sl
FILES
/var/tmp/SGSstrp*
temporary files
SEE ALSO
System Tools:
ar(1) create archived libraries
as(1) translate assembly code to machine code
cc(1) invoke the HP-UX C compiler
ld(1) invoke the link editor
Miscellaneous:
a.out(4) assembler, compiler, and linker output
ar(4) archive format
STANDARDS CONFORMANCE
strip: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
Section 1−−942 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005