ranlib - generate index to archive.
ranlib [-v|-V] archive
ranlib generates an index to the contents of an archive,
and stores it in the archive. The index lists each symbol
defined by a member of an archive that is a relocatable
You may use `nm -s' or `nm --print-armap' to list this index.
An archive with such an index speeds up linking to the library,
and allows routines in the library to call each
other without regard to their placement in the archive.
The GNU ranlib program is another form of GNU ar; running
ranlib is completely equivalent to executing `ar -s'.
-v Print the version number of ranlib and exit.
`binutils' entry in info; The GNU Binary Utilities, Roland
H. Pesch (October 1991); ar(1), nm(1).
Copyright (c) 1991, 2000 Free Software Foundation, Inc.
This document is distributed under the terms of the GNU
Free Documentation License, version 1.1. That license is
described in the sources for this manual page, but it is
not displayed here in order to make this manual more consise.
Copies of this license can also be obtained from:
Free Software Foundation 5 November 1991 2
Free Software Foundation 5 November 1991 2 [ Back ]