.TH LORDER 1 "18 January 1983"
lorder \- find ordering relation for an object library
is one or more object or library archive (see
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.
The output may be processed by
a library suitable for one-pass access by
This brash one-liner intends to build a new library
from existing `.o' files.
ar cr library \`\|lorder *.o | tsort\`
The need for lorder may be vitiated by use of
which converts an ordered archive into a randomly
nm(1), sed(1), sort(1), join(1)
The names of object files, in and out of libraries, must end with `.o';
nonsense results otherwise.