Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strip(1) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ld(1)

unstrip(1)

a.out(5)



STRIP(1)                COMMAND REFERENCE                STRIP(1)



NAME
     strip - remove symbols and relocation bits

SYNOPSIS
     strip [ -O suffix ] [ -S suffix ] [ -o ] [ -s ] [ -v ] file
     ...

DESCRIPTION
     Strip removes the symbol table and relocation bits
     ordinarily attached to the output of the assembler and
     loader.  This is useful to save space after a program has
     been debugged.

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

OPTIONS
     -O suffix
         Create an output file named filesuffix that is a
         stripped version of file. The input file is left
         unstripped.

     -S suffix
         Save stripped information. The symbol table and other
         information that strip removes from file are stored in
         filesuffix.  The symbol table file can be recombined
         with file using unstrip.

     -o  Create an output file named file.stripped that is a
         stripped version of file. The input file is left
         unstripped.

     -s  Save stripped information. The symbol table and other
         information that strip removes from file are stored in
         file.symtab.  The symbol table file can be recombined
         with file using unstrip.

     -v  Verbose. Reports the names of all input, output, and
         symbol table files used.  Also reports sizes (in bytes)
         of the input and output files.

EXAMPLES
     The following invocation removes the symbol table and
     relocation bits from the file cmd and prints messages
     telling you what it did:



          strip -v cmd






Printed 10/17/86                                                1





STRIP(1)                COMMAND REFERENCE                STRIP(1)



     The following invocation creates a stripped version of the
     file cmd in a file named cmd.out. The symbol table
     information is saved in cmd.symtab.



          strip -O ".out" -s cmd


FILES
     /tmp/stm?                Temporary file

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [NP_WARN]      An error warranting a warning message
                    occurred. Execution continues.

     [P_WARN]       A system error occurred. Execution continues.
                    See intro(2) for more information on system
                    errors.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

SEE ALSO
     ld(1), unstrip(1), a.out(5).



























Printed 10/17/86                                                2





































































%%index%%
na:72,78;
sy:150,254;
de:404,442;
op:846,1336;
ex:2182,240;2566,235;
fi:2801,94;
rv:2895,587;
se:3482,141;
%%index%%000000000140

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