lorder(1)lorder(1)NAMElorder - find ordering relation for an object library
SYNOPSIS
[files]
DESCRIPTION
The input consists of one or more object or archive library files (see
ar(1)) placed on the command line or read from standard input. The
standard output is a list of pairs of object file names, meaning that
the first file of the pair refers to external identifiers defined in
the second. Output can be processed by to find an ordering of a
library suitable for one-pass access by (see tsort(1) and ld(1)). Note
that the link editor is capable of multiple passes over an archive in
the archive format and does not require that be used when building an
archive. Using the command may, however, allow for a slightly more
efficient access of the archive during the link edit process.
The symbol table maintained by allows to randomly access symbols and
files in the archive, making the use of unnecessary when building ar‐
chive libraries (see ar(1)).
EXTERNAL INFLUENCES
Environment Variables
The following internationalization variables affect the execution of
Determines the locale category for native language, local customs and
coded character set in the absence of and other environment
variables. If is not specified or is set to the empty string, a
default of (see lang(5)) is used instead of
Determines the values for all locale categories and has precedence over
and other environment variables.
Determines the locale category for character collation.
Determines the locale category for character handling functions.
Determines the locale that should be used to affect the format
and contents of diagnostic messages written to standard error.
Determines the locale category for numeric formatting.
Determines the location of message catalogues for the processing
of
If any internationalization variable contains an invalid setting,
behaves as if all internationalization variables are set to See envi‐
ron(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
EXAMPLES
Build a new library from existing files:
When creating libraries with so many objects that the shell cannot
properly handle the expansion, the following technique may prove use‐
ful:
WARNINGS
Object files whose names do not end with are overlooked, even when con‐
tained in library archives. Their global symbols and references are
attributed to some other file.
FILES
temporary files
SEE ALSO
System Tools:
ar(1) create archived libraries
ld(1) invoke the link editor
Miscellaneous:
tsort(1) produce an ordered list of items (topological sort)
STANDARDS CONFORMANCElorder(1)