1RANLIB(1)                    GNU Development Tools                   RANLIB(1)
2
3
4

NAME

6       ranlib - generate index to archive.
7

SYNOPSIS

9       ranlib [-vV] archive
10

DESCRIPTION

12       ranlib  generates  an index to the contents of an archive and stores it
13       in the archive.  The index lists each symbol defined by a member of  an
14       archive that is a relocatable object file.
15
16       You may use nm -s or nm --print-armap to list this index.
17
18       An  archive  with  such  an  index speeds up linking to the library and
19       allows routines in the library to call each  other  without  regard  to
20       their placement in the archive.
21
22       The  GNU  ranlib  program  is another form of GNU ar; running ranlib is
23       completely equivalent to executing ar -s.
24

OPTIONS

26       -v
27       -V
28       --version
29           Show the version number of ranlib.
30
31       @file
32           Read command-line options from file.  The options read are inserted
33           in  place of the original @file option.  If file does not exist, or
34           cannot be read, then the option will be treated literally, and  not
35           removed.
36
37           Options  in file are separated by whitespace.  A whitespace characā€
38           ter may be included in an option by surrounding the  entire  option
39           in  either  single  or  double  quotes.  Any character (including a
40           backslash) may  be  included  by  prefixing  the  character  to  be
41           included  with a backslash.  The file may itself contain additional
42           @file options; any such options will be processed recursively.
43

SEE ALSO

45       ar(1), nm(1), and the Info entries for binutils.
46
48       Copyright (c) 1991, 1992, 1993, 1994, 1995,  1996,  1997,  1998,  1999,
49       2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
50
51       Permission  is  granted to copy, distribute and/or modify this document
52       under the terms of the GNU Free Documentation License, Version  1.1  or
53       any  later  version  published by the Free Software Foundation; with no
54       Invariant Sections, with no Front-Cover Texts, and with  no  Back-Cover
55       Texts.   A copy of the license is included in the section entitled "GNU
56       Free Documentation License".
57
58
59
60binutils-2.17                     2006-06-23                         RANLIB(1)
Impressum