lorder Command

Purpose

Finds the best order for member files in an object library.

Syntax

lorder [ -X {32|64|32_64}] File ...

Description

The lorder command reads one or more object or library archive files, looking for external references and writing a list of paired file names to standard output. The first pair of files contains references to identifiers that are defined in the second file.

If object files do not end with .o, the lorder command overlooks them and attributes their global symbols and references to some other file.

Flags

Item Description
-X mode Specifies the type of object file lorder should examine. The mode must be one of the following:
32
Processes only 32-bit object files
64
Processes only 64-bit object files
32_64
Processes both 32-bit and 64-bit object files

The default is to process 32-bit object files (ignore 64-bit objects). The mode can also be set with the OBJECT_MODE environment variable. For example, OBJECT_MODE=64 causes lorder to process any 64-bit objects and ignore 32-bit objects. The -X flag overrides the OBJECT_MODE variable.

Files

Item Description
/tmp/sym* Contains temporary files.