BSD 4_2 development
[unix-history] / usr / man / man1 / ranlib.1
CommitLineData
d8649de5
C
1.TH RANLIB 1 "8 February 1983"
2.SH NAME
3ranlib \- convert archives to random libraries
4.SH SYNOPSIS
5.B ranlib
6archive ...
7.SH DESCRIPTION
8.I Ranlib
9converts each
10.I archive
11to a form which the loader can load more rapidly.
12.I Ranlib
13does this by adding a table of contents called
14.B _.SYMDEF
15to the beginning of the archive.
16.I Ranlib
17uses
18.IR ar (1)
19to reconstruct the archive, so that sufficient temporary file space must
20be available in the file system which contains the current directory.
21.SH "SEE ALSO"
22ld(1), ar(1), lorder(1)
23.SH BUGS
24Because generation of a library by
25.I ar
26and randomization of the library by
27.I ranlib
28are separate processes, phase errors are possible. The loader,
29.IR ld ,
30warns when the modification date of a library is more recent than the
31creation date of its dictionary; but this means that you get the
32warning even if you only copy the library.