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
23       The need for lorder may be vitiated by use of ranlib(1), which converts
24       an ordered archive into a randomly accessed library.
25

FILES

27       *symref, *symdef
28       nm(1), sed(1), sort(1), join(1)
29

SEE ALSO

31       tsort(1), ld(1), ar(1), ranlib(1)
32

BUGS

34       The names of object files, in and out of libraries, must end with `.o';
35       nonsense results otherwise.
36
37
38
394th Berkeley Distribution       April 29, 1985                       LORDER(1)
Impressum