Caution: This version of this document is no longer maintained. For the latest documentation, see


Index an archive


ranlib_variant [-t] [-v|-V|--version] archive

Runs on:

QNX Neutrino, Linux, Microsoft Windows


The ranlib_variant depends on the target platform, as follows:

Target platform: ranlib_variant:
ARM ntoarm-ranlib
MIPS ntomips-ranlib
PowerPC ntoppc-ranlib
SH4 ntosh-ranlib
x86 ntox86-ranlib


The ranlib utility 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.

For detailed documentation, see the GNU website at

Contributing author:


See also:

ar, nm