strip.1 (2010 09)

s
strip(1) strip(1)
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.so in the current directory
to reduce its size. Symbol information required to use the library is preserved:
strip ./libfoo.so
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
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010