lorder(1) bsd man page | unix.com

Man Page: lorder

Operating Environment: bsd

Section: 1

LORDER(1)						      General Commands Manual							 LORDER(1)

NAME
lorder - find ordering relation for an object library
SYNOPSIS
lorder file ...
DESCRIPTION
The input is one or more object or library archive (see ar(1)) files. The standard output 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 tsort(1) to find an ordering of a library suitable for one-pass access by ld(1). 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 ranlib(1), which converts an ordered archive into a randomly accessed library.
FILES
*symref, *symdef nm(1), sed(1), sort(1), join(1)
SEE ALSO
tsort(1), ld(1), ar(1), ranlib(1)
BUGS
The names of object files, in and out of libraries, must end with `.o'; nonsense results otherwise. 4th Berkeley Distribution April 29, 1985 LORDER(1)
Related Man Pages
lorder(1) - opensolaris
tsort(1) - osf1
tsort(1) - netbsd
tsort(1) - sunos
lorder(1) - freebsd
Similar Topics in the Unix Linux Community
How to sort find results
making find/sed to include directory names with spaces
Redirect output to memory instead of an external file
Documenting files with sed
I need to find in a file a list of number where last two digit end in a range