ranlib

convert archives to random libraries 

Command


SYNOPSIS

ranlib archive


DESCRIPTION

On some older UNIX systems, ranlib added 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 command automatically provides all the functionality ranlib used to provide.

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


DIAGNOSTICS

ranlib always returns an exit status of 0.


PORTABILITY

All UNIX systems. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.


AVAILABILITY

PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
ar


PTC MKS Toolkit 10.5 Documentation Build 40.