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