Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

ranlib(1)

Name

ranlib - convert archives to random libraries

Synopsis

ranlib archive

Description

The ranlib utility was used in SunOS 4.x to add a table of contents to archive libraries, which converted each archive to a form that could be linked more rapidly. This is no longer needed, as the ar(1) command automatically provides all the functionality ranlib used to provide.

This script is provided as a convenience for software developers who need to maintain Makefiles that are portable across a variety of operating systems.

Exit Status

ranlib has exit status 0.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
developer/base-developer-utilities

See Also

ar(1), ar.h(3HEAD), attributes(5)