Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strip(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ar

as

cc

dump

ld

nm

size



STRIP(1,C)                  AIX Commands Reference                   STRIP(1,C)



-------------------------------------------------------------------------------
strip



PURPOSE

Removes symbol and line number information from a common object file.

SYNTAX


         +--------+   +------+
strip ---| one of |---|      |--- file ---|
         | +----+ |   +- -l -+ ^        |
         +-| -r |-+            +--------+
           | -x |
           +----+


DESCRIPTION

The strip command removes the symbol table and line number information from
common object files, including archive libraries.  Once you use this command,
symbolic debugging of the file is difficult; therefore, you should normally run
strip only on production modules that you have debugged and tested.  Using
strip reduces the file storage overhead required by an object file.

For each object module, strip removes all symbol table information.  For each
archive, strip removes the library symbol table information.  You can restore a
stripped library symbol table to an archive or library file by using the ar -s
command.

FLAG

-l Removes only the line number information.

-r Does not remove static symbol, external symbol or relocation information.

   Note:  You must specify the -r flag if there are relocation entries in the
          object file.

-x Does not remove static or external symbol information.

FILES

/usr/tmp/strp*

RELATED INFORMATION

See the following commands:  "ar,"  "as,"  "cc,"  "dump," "ld,"  "nm," and
"size."



Processed November 8, 1990        STRIP(1,C)                                  1





STRIP(1,C)                  AIX Commands Reference                   STRIP(1,C)




See the ar and a.out files in AIX Operating System Technical Reference.





















































Processed November 8, 1990        STRIP(1,C)                                  2



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