LORDER(CP) XENIX System V LORDER(CP)
Name
lorder - Finds ordering relation for an object library.
Syntax
lorder file ...
Description
lorder creates an ordered listing of object filenames,
showing which files depend on variables declared in other
files. The file is one or more object or library archive
files (see ar(CP)). The standard output is a list of pairs
of object filenames. The first file of the pair refers to
external identifiers defined in the second. The output may
be processed by tsort(CP) to find an ordering of a library
suitable for one-pass access by ld(CP).
Example
The following command builds a new library from existing .o
files:
ar cr library `lorder *.o | tsort`
Files
*symref, *symdef Temp files
See Also
ar(CP), ld(CP), tsort(CP)
Notes
Object files whose names do not end with .o, even when
contained in library archives, are overlooked. Their global
symbols and references are attributed to some other file.
Page 1 (printed 8/7/87)