osf1 man page for ostrip

Query: ostrip

OS: osf1

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ostrip(1)						      General Commands Manual							 ostrip(1)

NAME
ostrip - Reduce the size of object files
SYNOPSIS
ostrip [options] file...
OPTIONS
The following options are supported by the ostrip command: Removes the section of a linked image. Removes unreferenced symbols and unused type information from the symbol tables of a pre-link file. This results in a smaller on-disk executable file. If files modified with this option are subsequently linked, ostrip -m should be run on the linked image. Joins together two files that were previously split by the -t option into a symbol table file (image.stb) and a stripped image file (image). Removes unreferenced symbols and unused type information for the symbol tables of a post-link executable file. This results in a smaller on-disk executable file. The symbol table still contains all information required for debugging. Decompresses the output of ostrip. This option is provided for cases in which the input file is compressed in ALPHAMAGICZ format. Removes the symbol table and any strippable subsections of the section. (Performs the same operations as the strip command.) Splits an image file (image) into a symbol table file (image.stb) and a stripped image file (image). The symbol table file will contain a checksum of the stripped image. Displays the version of the ostrip command. Produces a reduced symbol table by remov- ing local information. Also deletes any locally strippable subsections of the section. (Performs the same operations as the ld -x com- mand.) Compresses the output of ostrip into ALPHAMAGICZ format.
DESCRIPTION
The ostrip command reduces the components of any object file based on the options that are specified. It is designed to work with any object file, that is, files, image files, and shared object files. It does not work with (archive) files.
RESTRICTIONS
None.
EXAMPLES
The following command strips the local symbol table and converts the object file into ALPHAMAGICZ format: ostrip -x -Z obj.o The following command produces the symbol table file osize_mm.stb and the stripped image file osize.mm: ostrip -t osize.mm The following command joins the symbol table file osize_mm.stb to osize.mm: ostrip -j osize.mm
SEE ALSO
Commands: strip(1), ld(1), mcs(1), objZ(1) ostrip(1)
Related Man Pages
symcompact(1) - bsd
strip(1) - freebsd
strip(1) - sunos
ksyms(4) - minix
ksyms(4) - x11r4
Similar Topics in the Unix Linux Community
xwindow on old computer
"not stripped" executable file
How to make a £ symbol printed from a file?
Stripping of a symbol from string not working properly
To replace '(' and ')' symbol using tr or sed