Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, February 10, 2021
 
 

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.

Under Oracle Solaris, the ranlib utility is equivalent to calling the true utility. It has no effect, and its use can be safely omitted. 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(7) for descriptions of the following attributes:

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

See Also

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