Keep COPYING.NEWLIB if keep-newlib.
[deliverable/binutils-gdb.git] / binutils / ranlib.1
CommitLineData
5ad691d4
RP
1.\" Copyright (c) 1991 Free Software Foundation
2.\" See section COPYING for conditions for redistribution
5ad691d4
RP
3.TH ranlib 1 "5 November 1991" "cygnus support" "GNU Development Tools"
4.de BP
5.sp
6.ti \-.2i
7\(**
8..
9
10.SH NAME
938fa52b 11ranlib \- generate index to archive.
5ad691d4
RP
12
13.SH SYNOPSIS
14.hy 0
15.na
16.B ranlib \c
b26ac613 17.RB "[\|" \-v | \-V "\|]"
5ad691d4
RP
18.I archive\c
19\&
20.ad b
21.hy 1
22.SH DESCRIPTION
b26ac613
DM
23.B ranlib
24generates an index to the contents of an archive, and
5ad691d4
RP
25stores it in the archive. The index lists each symbol defined by a
26member of an archive that is a relocatable object file.
b26ac613
DM
27.PP
28You may use
29.RB ` "nm \-s" '
30or
31.RB ` "nm \-\-print-armap" '
32to list this index.
33.PP
5ad691d4
RP
34An archive with such an index speeds up linking to the library, and
35allows routines in the library to call each other without regard to
36their placement in the archive.
b26ac613
DM
37.PP
38The GNU
39.B ranlib
40program is another form of GNU
41.BR ar ;
42running
43.B ranlib
44is completely equivalent to executing
45.RB ` "ar \-s" '.
5ad691d4 46
b26ac613
DM
47.SH OPTIONS
48.TP
49.B \-v
50Print the version number of
51.B ranlib
52and exit.
5ad691d4
RP
53
54.SH "SEE ALSO"
55.RB "`\|" binutils "\|'"
56entry in
57.B
58info\c
59\&;
60.I
61The GNU Binary Utilities\c
62\&, Roland H. Pesch (October 1991);
63.BR ar "(" 1 "),"
64.BR nm "(" 1 ")."
65
66
67.SH COPYING
68Copyright (c) 1991 Free Software Foundation, Inc.
69.PP
70Permission is granted to make and distribute verbatim copies of
71this manual provided the copyright notice and this permission notice
72are preserved on all copies.
73.PP
74Permission is granted to copy and distribute modified versions of this
75manual under the conditions for verbatim copying, provided that the
76entire resulting derived work is distributed under the terms of a
77permission notice identical to this one.
78.PP
79Permission is granted to copy and distribute translations of this
80manual into another language, under the above conditions for modified
81versions, except that this permission notice may be included in
82translations approved by the Free Software Foundation instead of in
83the original English.
This page took 0.122653 seconds and 4 git commands to generate.