1 .\" Copyright (c) 1991 Free Software Foundation
2 .\" See section COPYING for conditions for redistribution
3 .TH strip 1 "5 November 1991" "cygnus support" "GNU Development Tools"
11 strip\(em\&Discard symbols from object files.
15 .RB "[\|" "\-F \fIformat\fP" | \-\-format=\fIformat\fP | \-\-target=\fIformat\fP "\|]"
16 .RB "[\|" "\-I \fIformat\fP" | \-\-input\-format=\fIformat\fP "\|]"
17 .RB "[\|" "\-O \fIformat\fP" | \-\-output\-format=\fIformat\fP "\|]"
18 .RB "[\|" \-s | \-\-strip\-all "\|]"
19 .RB "[\|" \-S | -g | \-\-strip\-debug "\|]"
20 .RB "[\|" \-x | \-\-discard\-all "\|]"
21 .RB "[\|" \-X | \-\-discard\-locals "\|]"
22 .RB "[\|" \-v | \-\-verbose "\|]"
23 .RB "[\|" \-V | \-\-version "\|]"
24 .RB "[\|" \-V | \-\-help "\|]"
31 discards all symbols from the object files
33 The list of object files may include archives.
34 At least one object file must be given.
38 modifies the files named in its argument,
39 rather than writing modified copies under different names.
45 .B "\-\-format=\fIformat"
47 .B "\-\-target=\fIformat"
48 Treat the original \fIobjfile\fP as a file with the object
49 code format \fIformat\fP, and rewrite it in the same format.
53 Show a summary of the options to
60 .B "\-\-input\-format=\fIformat"
61 Treat the original \fIobjfile\fP as a file with the object
62 code format \fIformat\fP.
67 .B "\-\-output\-format=\fIformat"
68 Replace \fIobjfile\fP with a file in the output format \fIformat\fP.
82 Remove debugging symbols only.
88 Remove non-global symbols.
91 .B "\-X \-\-discard\-locals"
92 Remove compiler-generated local symbols.
93 (These usually start with ``L'' or ``.''.)
99 Verbose output: list all object files modified. In the case of
102 lists all members of the archive.
108 Show the version number for \fBstrip\fP and exit.
111 .RB "`\|" binutils "\|'"
114 .IR "The GNU Binary Utilities ,
115 Roland H. Pesch (October 1991).
118 Copyright (c) 1991 Free Software Foundation, Inc.
120 Permission is granted to make and distribute verbatim copies of
121 this manual provided the copyright notice and this permission notice
122 are preserved on all copies.
124 Permission is granted to copy and distribute modified versions of this
125 manual under the conditions for verbatim copying, provided that the
126 entire resulting derived work is distributed under the terms of a
127 permission notice identical to this one.
129 Permission is granted to copy and distribute translations of this
130 manual into another language, under the above conditions for modified
131 versions, except that this permission notice may be included in
132 translations approved by the Free Software Foundation instead of in
133 the original English.