Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lorder.bsd(1) — Domain/IX SR9.2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

LORDER(1)

NAME

lorder − find ordering relation for an object library

USAGE

lorder file ... 

DESCRIPTION

Lorder uses as input one or more object or library archive files to find the ordering relation for an object library.  The standard output lists pairs of object filenames, meaning that the first file of the pair refers to external identifiers defined in the second.  You may want to process the output through tsort (1) to find an ordering of a library suitable for one-pass access by ld (1). 

The need for lorder may be vitiated by using ranlib (1), which converts an ordered archive into a randomly accessed library. 

EXAMPLE

To build a new library from existing .o files, specify the following:

ar cr library `lorder *.o | tsort`

CAUTIONS

The names of object files, in and out of libraries, must end with .o; otherwise, the result is nonsense.

FILES

*symref, *symdef

RELATED INFORMATION

ar (1), join (1), ld (1), ranlib (1), sed (1), sort (1), tsort (1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026