01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LORDER ( l ) LORDER (l)<br />

NAME<br />

!order - find ordering relation for an object library<br />

SYNOPSIS<br />

!order file ...<br />

DESCRIPTION<br />

The input is one or more object or library archive files (see ar(l)).<br />

The standard output is a list of pairs of object file names, meaning<br />

that the first file of the pair refers to external identifiers defined in<br />

the second. The output may be processed by tsort(l) to find an<br />

ordering of a library suitable for one-pass access by ld(l). Note<br />

that the link editor ld(l) is capable of multiple passes over an<br />

archive in the portable archive format (see ar( 4)) and does not<br />

require that lorder(l) be used when building an archive. The<br />

usage of the lorder(l) command may, however, allow for a slightly<br />

more efficient access of the archive during the link edit process.<br />

The following example builds a new library from existing .o files.<br />

ar cr library ' I order * .o I tsort '<br />

FILES<br />

*symref, *symdef temporary files<br />

SEE ALSO<br />

ar(l), Id(l), tsort( l), ar( 4).<br />

BUGS<br />

Object files whose names do not end with .o, even when contained<br />

in library archives, are overlooked. Their global symbols and<br />

references are attributed to some other file.<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!