1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)lorder.1 8.2 (Berkeley) 04/28/95 7.\" 8.Dd 9.Dt LORDER 1 10.Os 11.Sh NAME 12.Nm lorder 13.Nd list dependencies for object files 14.Sh SYNOPSIS 15.Nm lorder 16.Ar 17.Sh DESCRIPTION 18The 19.Nm lorder 20utility uses 21.Xr nm 1 22to determine interdependencies in the list of object files 23specified on the command line. 24.Nm Lorder 25outputs a list of file names where the first file contains a symbol 26which is defined by the second file. 27.Pp 28The output is normally used with 29.Xr tsort 1 30when a library is created to determine the optimum ordering of the 31object modules so that all references may be resolved in a single 32pass of the loader. 33.Sh EXAMPLES 34.Bd -literal -offset indent 35ar cr library.a `lorder ${OBJS} | tsort` 36.Ed 37.Sh SEE ALSO 38.Xr ar 1 , 39.Xr ld 1 , 40.Xr nm 1 , 41.Xr ranlib 1 , 42.Xr tsort 1 43.Sh HISTORY 44An 45.Nm lorder 46utility appeared in 47.At v7 . 48