Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strip(XNX) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 strip(XNX)                     6 January 1993                     strip(XNX)


 Name

    strip - removes symbols and relocation bits

 Syntax

    strip [ -MNSdehrstx ] file ...

 Description

    strip removes the symbol table and relocation bits ordinarily attached to
    the output of the assembler and link editor.  This is useful for saving
    space after a program has been debugged.

    If name is an archive file, strip will remove the local symbols from any
    a.out format files it finds in the archive.  Certain libraries, such as
    those residing in /lib, have no need for local symbols.  By deleting
    them, the size of the archive is decreased and link editing performance
    is increased.

    There are several options for use with strip:

    -M    Strip all memory image segments.

    -N    Strip all non-memory image segments.

    -S    Strip the segment table only.

    -h    Strip header and extended header.

    -e    Strip extended header.

    -d    Strip data and data relocation.

    -t    Strip text and text relocation.

    -r    Strip all relocation except x.out's "short form."

    -x    Strip all relocation.

    -s    trip symbol table.

    The effect of strip is the same as use of the -s option of ld.

 Files

    /tmp/stm*               Temporary file

 See Also

    ld(XNX)

 Standards Conformance

    strip is conformant with:
    AT&T SVID Issue 2;
    and X/Open Portability Guide, Issue 3, 1989.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026