


ranlib(1)             GNU Development Tools             ranlib(1)


NAME
       ranlib - generate index to archive.


SYNOPSIS
       ranlib [-v|-V] archive

DESCRIPTION
       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
       object file.

       You may use `nm -s' or `nm --print-armap' to list this in-
       dex.

       An archive with such an index speeds up linking to the li-
       brary, 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'.


OPTIONS
       -v     Print the version number of ranlib and exit.


SEE ALSO
       `binutils' entry in info; The GNU Binary Utilities, Roland
       H. Pesch (October 1991); ar(1), nm(1).



COPYING
       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  con-
       sise.   Copies  of this license can also be obtained from:
       http://www.gnu.org/copyleft/.














Free Software Foundation 5 November 1991                        1





ranlib(1)             GNU Development Tools             ranlib(1)



























































Free Software Foundation 5 November 1991                        2


