1.\" Copyright (c) 1990 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)lorder.1 6.5 (Berkeley) 07/24/90 7.\" 8.Dd 9.Dt LORDER 1 10.Os BSD 4.4 11.Sh NAME 12.Nm lorder 13.Nd list dependencies for object files 14.Sh SYNOPSIS 15.Nm lorder 16.Ar file ... 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.Pp 35.Dl ar cr library.a `lorder ${OBJS} tsort` 36.Sh SEE ALSO 37.Xr ar 1 , 38.Xr ld 1 , 39.Xr nm 1 , 40.Xr ranlib 1 , 41.Xr tsort 1 42.Sh HISTORY 43.Nm Lorder 44appeared in Version 7 AT&T Unix. 45