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 \- Discard symbols from object files.
15 .RB "[\|" "\-F \fIbfdname\fP" | \-\-target=\fIbfdname\fP "\|]"
16 .RB "[\|" "\-I \fIbfdname\fP" | \-\-input\-target=\fIbfdname\fP "\|]"
17 .RB "[\|" "\-O \fIbfdname\fP" | \-\-output\-target=\fIbfdname\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 "\-\-target=\fIbfdname"
46 Treat the original \fIobjfile\fP as a file with the object
47 code format \fIbfdname\fP, and rewrite it in the same format.
51 Show a summary of the options to
58 .B "\-\-input\-target=\fIbfdname"
59 Treat the original \fIobjfile\fP as a file with the object
60 code format \fIbfdname\fP.
63 .B "\-O \fIbfdname\fP"
65 .B "\-\-output\-target=\fIbfdname"
66 Replace \fIobjfile\fP with a file in the output format \fIbfdname\fP.
80 Remove debugging symbols only.
86 Remove non-global symbols.
89 .B "\-X \-\-discard\-locals"
90 Remove compiler-generated local symbols.
91 (These usually start with ``L'' or ``.''.)
97 Verbose output: list all object files modified. In the case of
100 lists all members of the archive.
106 Show the version number for \fBstrip\fP and exit.
109 .RB "`\|" binutils "\|'"
112 .IR "The GNU Binary Utilities ,
113 Roland H. Pesch (October 1991).
116 Copyright (c) 1991 Free Software Foundation, Inc.
118 Permission is granted to make and distribute verbatim copies of
119 this manual provided the copyright notice and this permission notice
120 are preserved on all copies.
122 Permission is granted to copy and distribute modified versions of this
123 manual under the conditions for verbatim copying, provided that the
124 entire resulting derived work is distributed under the terms of a
125 permission notice identical to this one.
127 Permission is granted to copy and distribute translations of this
128 manual into another language, under the above conditions for modified
129 versions, except that this permission notice may be included in
130 translations approved by the Free Software Foundation instead of in
131 the original English.