Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lorder(1) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ar(1)

ld(1)

tsort(1)

LORDER(1)  —  HP-UX

NAME

lorder − find ordering relation for an object library

SYNOPSIS

lorder file ... 

DESCRIPTION

The input is one or more object or library archive files (see ar(1)). 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). Note that the link editor ld(1) is capable of multiple passes over an archive in the archive format and does not require that lorder(1) be used when building an archive. The usage of the lorder(1) command may, however, allow for a slightly more efficient access of the archive during the link edit process.

The following example builds a new library from existing .o files. 

ar cr library `lorder ∗.o │ tsort`

FILES

∗symref, ∗symdeftemporary files

SEE ALSO

ar(1), ld(1), tsort(1). 

BUGS

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. 

INTERNATIONAL SUPPORT

8- and 16-bit data, 8-bit filenames. 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

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