LORDER(1) DOMAIN/IX Reference Manual (SYS5) LORDER(1)
NAME
lorder - find ordering relation for an object library
USAGE
lorder file ...
DESCRIPTION
Lorder uses as input one or more object or library archive
files to find the ordering relation for an object library.
The standard output lists pairs of object filenames, meaning
that the first file of the pair refers to external identif-
iers defined in the second. You may want to process the
output through tsort (1) to find an ordering of a library
suitable for one-pass access by ld (1).
EXAMPLE
To build a new library from existing .o files, specify the
following:
ar cr library `lorder *.o | tsort`
CAUTIONS
The names of object files, in and out of libraries, must end
with .o; otherwise, they are overlooked. Their global sym-
bols and references are attributed to some other file.
FILES
*symref, *symdef temporary files
RELATED INFORMATION
ar (1), ld (1), tsort (1), ar (4).
Printed 6/10/85 LORDER-1