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

NAME

6       ranlib - generate index to archive.
7

SYNOPSIS

9       ranlib [-vVt] 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       -t  Update the timestamp of the symbol map of an archive.
32
33       @file
34           Read command-line options from file.  The options read are inserted
35           in place of the original @file option.  If file does not exist, or
36           cannot be read, then the option will be treated literally, and not
37           removed.
38
39           Options in file are separated by whitespace.  A whitespace
40           character may be included in an option by surrounding the entire
41           option in either single or double quotes.  Any character (including
42           a backslash) may be included by prefixing the character to be
43           included with a backslash.  The file may itself contain additional
44           @file options; any such options will be processed recursively.
45

SEE ALSO

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