lorder(1)
_________________________________________________________________
lorder Command
find ordering relation for an object library
_________________________________________________________________
SYNTAX
lorder file ...
DESCRIPTION
Lorder reads each object or archive file and produces a list of
pairs of object file or archive member names. The first file of
each pair refers to external identifiers defined in the second
file.
The output may be processed by tsort(1) to find an ordering of a
library suitable for one-pass access by ld(1). Note that the
link editor ld(1) can perform multiple passes over an archive in
the portable archive format (see ar(4)) and does not require that
lorder(1) be used when building an archive. Using lorder(1) may,
however, allow for a slightly more efficient access of the
archive during the link edit process.
The following example builds a new library from existing object
files:
ar cr library `lorder *.o | tsort`
FILES
/tmp/*symref Temporary file of symbol references
/tmp/*symdef Temporary file of symbol definitions
SEE ALSO
ar(1), ld(1), nm(1), tsort(1), ar(4).
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)