1LORDER(1)                   General Commands Manual                  LORDER(1)
2
3
4

NAME

6       lorder - find ordering relation for an object library
7

SYNOPSIS

9       lorder file ...
10

DESCRIPTION

12       The  input  is one or more object or library archive (see ar(1)) files.
13       The standard output is a list of pairs of object  file  names,  meaning
14       that  the first file of the pair refers to external identifiers defined
15       in the second.  The output may be processed  by  tsort(1)  to  find  an
16       ordering of a library suitable for one-pass access by ld(1).
17
18       This  brash one-liner intends to build a new library from existing `.o'
19       files.
20
21              ar cr library `lorder *.o | tsort`
22

FILES

24       *symref, *symdef
25       nm(1), sed(1), sort(1), join(1)
26

SEE ALSO

28       tsort(1), ld(1), ar(1)
29

BUGS

31       The names of object files, in and out of libraries, must end with `.o';
32       nonsense results otherwise.
33
34
35
36                                                                     LORDER(1)
Impressum