version 1.4, 2000/03/10 19:07:20 |
version 1.5, 2000/11/10 05:10:32 |
|
|
.Ar file Op Ar ... |
.Ar file Op Ar ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm lorder |
.Nm |
utility uses |
utility uses |
.Xr nm 1 |
.Xr nm 1 |
to determine interdependencies in the list of object files |
to determine interdependencies in the list of object files |
specified on the command line. |
specified on the command line. |
.Nm lorder |
.Nm |
outputs a list of file names where the first file contains a symbol |
outputs a list of file names where the first file contains a symbol |
which is defined by the second file. |
which is defined by the second file. |
.Pp |
.Pp |
|
|
object modules so that all references may be resolved in a single |
object modules so that all references may be resolved in a single |
pass of the loader. |
pass of the loader. |
.Sh EXAMPLES |
.Sh EXAMPLES |
.Bd -literal -offset indent |
.Bd -literal |
ar cr library.a `lorder ${OBJS} | tsort` |
ar cr library.a `lorder ${OBJS} | tsort` |
.Ed |
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |
|
|
.Xr tsort 1 |
.Xr tsort 1 |
.Sh HISTORY |
.Sh HISTORY |
An |
An |
.Nm lorder |
.Nm |
utility appeared in |
utility appeared in |
.At v7 . |
.At v7 . |