NAME
ranlib — regenerate archive symbol table
DESCRIPTION
ranlib
regenerates the symbol tables of the specified archives. It is
equivalent to executing
ar qs archive
on each of the archives.
After using the
z
modifier of
ar,
the symbol table of an archive must be regenerated before it can be used.
EXTERNAL INFLUENCES
Environment Variables
The following internationalization variables affect the execution of
ranlib:
- LANG
Determines the locale category for native language, local customs and
coded character set in the absence of
LC_ALL
and other
LC_*
environment variables.
If
LANG
is not specified or is set to the empty string,
a default of
C
(see
lang(5))
is used instead of
LANG.
- LC_ALL
Determines the values for all locale categories and has precedence over
LANG
and other
LC_*
environment variables.
- LC_CTYPE
Determines the locale category for character handling functions.
- LC_MESSAGES
Determines the locale that should be used to affect the format
and contents of diagnostic messages written to standard error.
- LC_NUMERIC
Determines the locale category for numeric formatting.
- LC_TIME
Determines the format and contents of date and time formatting.
- NLSPATH
Determines the location of message catalogues for the processing
of
LC_MESSAGES.
If any internationalization variable
contains an invalid setting,
ranlib
behaves as if all internationalization variables are set to
C.
See
environ(5).
In addition, the following environment variable affects
ranlib:
- TMPDIR
Specifies a directory
for temporary files (see
tmpnam(3S)).
SEE ALSO
System Tools:
- ar(1)
create archived libraries
Miscellaneous:
- ar(4)
archive format
- strip(1)
strip symbol and line number information from an object file