scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

scc-strip.man (1341B)


      1 .TH SCC-STRIP 1 scc\-VERSION
      2 .SH NAME
      3 strip \- remove symbols and relocation information from object files
      4 .SH SYNOPSIS
      5 .B scc-strip
      6 .RI [ file ...]
      7 .SH DESCRIPTION
      8 .B scc-strip
      9 removes the symbol table and relocation information from each object
     10 .I file
     11 specified.
     12 If no
     13 .I file
     14 arguments are given,
     15 .B scc-strip
     16 operates on
     17 .B a.out
     18 by default.
     19 .PP
     20 Stripping an object file reduces its size by discarding information that
     21 is not required for execution, such as symbol names and relocation records.
     22 The resulting file is otherwise functionally equivalent to the original.
     23 .PP
     24 .B scc-strip
     25 processes each file in place.
     26 A temporary file is created alongside the original during processing
     27 and is renamed to replace it upon success.
     28 If an error occurs, the original file is left unchanged.
     29 .SH OPERANDS
     30 .TP
     31 .I file
     32 A pathname of an object file from which symbol and relocation information
     33 is to be removed.
     34 If no operands are given,
     35 .B strip
     36 operates on
     37 .BR a.out .
     38 .SH EXAMPLES
     39 Strip the default output file:
     40 .IP
     41 .EX
     42 scc-strip
     43 .EE
     44 .PP
     45 Strip a specific object file:
     46 .IP
     47 .EX
     48 scc-strip foo.o
     49 .EE
     50 .PP
     51 Strip multiple files:
     52 .IP
     53 .EX
     54 scc-strip foo.o bar.o baz.o
     55 .EE
     56 .SH STANDARDS
     57 The
     58 .B scc-strip
     59 utility is designed to conform to IEEE Std 1003.1-2008 (POSIX.1).
     60 .SH SEE ALSO
     61 .BR scc-ar (1),
     62 .BR scc-nm (1),
     63 .BR scc-ranlib (1),
     64 .BR scc-objdump (1)