Bell 32V development
[unix-history] / usr / man / man1 / lorder.1
CommitLineData
2373746d
TL
1.TH LORDER 1
2.SH NAME
3lorder \- find ordering relation for an object library
4.SH SYNOPSIS
5.B lorder
6file ...
7.SH DESCRIPTION
8The input
9is one or more object or library archive (see
10.IR ar (1))
11.I files.
12The standard output
13is a list of pairs of object file names,
14meaning that the first file of the pair refers to
15external identifiers defined in the second.
16The output may be processed by
17.IR tsort (1)
18to find an ordering of
19a library suitable for one-pass access by
20.IR ld (1).
21.PP
22This brash one-liner intends to build a new library
23from existing `.o' files.
24.IP
25ar cr library \`\|lorder *.o | tsort\`
26.SH FILES
27*symref, *symdef
28.br
29nm(1), sed(1), sort(1), join(1)
30.SH "SEE ALSO"
31tsort(1),
32ld(1),
33ar(1)
34.SH BUGS
35The names of object files, in and out of libraries, must end with `.o';
36nonsense results otherwise.