*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ostrip (1)              
Title
Content
Arch
Section
 

ostrip(1)

Contents


NAME    [Toc]    [Back]

       ostrip - Reduce the size of object files

SYNOPSIS    [Toc]    [Back]

       ostrip [options] file...

OPTIONS    [Toc]    [Back]

       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  ondisk
  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  removing
       local  information.   Also  deletes any locally strippable
       subsections of the section. (Performs the same  operations
       as  the  ld  -x command.)  Compresses the output of ostrip
       into ALPHAMAGICZ format.

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       None.

EXAMPLES    [Toc]    [Back]

       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    [Toc]    [Back]

      
      
       Commands:  strip(1), ld(1), mcs(1), objZ(1)



                                                        ostrip(1)
[ Back ]
 Similar pages
Name OS Title
chunksize IRIX specifies minimum object size in memory
elf_fsize IRIX return the size of an object file type
pthread_attr_setstackaddr_np Tru64 Changes the stack address and size of the specified thread attributes object
size Tru64 Prints the size of an object file and the sizes of its segments or sections
st_obj_open Tru64 routines to check whether an object is an archive and to process object files within an archive
st_file_is_archive Tru64 routines to check whether an object is an archive and to process object files within an archive
st_ar_member_next Tru64 routines to check whether an object is an archive and to process object files within an archive
st_is_obj_archive Tru64 routines to check whether an object is an archive and to process object files within an archive
st_obj_close Tru64 routines to check whether an object is an archive and to process object files within an archive
st_object_type Tru64 routines to check whether an object is an archive and to process object files within an archive
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service