lorder(1) lorder(1)NAME lorder - finds the ordering relation for an object library SYNOPSIS lorder file... ARGUMENTS file Specifies the object or library archive file. DESCRIPTION lorder produces a global cross-reference, given a list of object modules (.ofiles), which can then be passed to tsort to produce a properly ordered archive file. The input is one or more object or library archive files (see ar(1)). The standard output is a list of pairs of object filenames, meaning that the first file of the pair refers to external identifiers defined in the second. The output may be processed by tsort to find an ordering of a library suitable for one-pass access by ld . Note: The link editor ld is capable of multiple passes over an archive in the portable archive format (see ar) and does not require that lorder be used when building an archive. Use of the lorder command may, however, allow for a slightly more efficient access of the archive during the link edit process. EXAMPLES The command: ar cr library `lorder *.o | tsort` builds a new library from existing .o files. LIMITATIONS Object files whose names do not end with .o, even when contained in library archives, are overlooked. Their global symbols and references are attributed to some other file. FILES /bin/lorder Executable file *symref Executable file *symdef Executable file January 1992 1
lorder(1) lorder(1)SEE ALSO ar(1), ld(1), tsort(1) ar(4) in A/UX Programmer's Reference 2 January 1992