[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 3

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

-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 withe 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

/tmp/sym* Contains temporary files.

Related Information

The ar command, ld command, tsort command, xargs command.

The ar file.

Subroutines Overview in AIX Version 4.3 General Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]