Move everything from /var/adm to /var/log
[unleashed.git] / share / man / man1 / lorder.1
blob806e19403b621492f5784dc37a095de7d6639f1a
1 '\" te
2 .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 1989 AT&T
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH LORDER 1 "Oct 29, 1991"
8 .SH NAME
9 lorder \- find ordering relation for an object or library archive
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBlorder\fR \fIfilename\fR...
14 .fi
16 .SH DESCRIPTION
17 .sp
18 .LP
19 The input is one or more object or library archive \fIfilenames\fR (see
20 \fBar\fR(1)). The standard output is a list of pairs of object file or archive
21 member names; the first file of the pair refers to external identifiers defined
22 in the second. The output may be processed by \fBtsort\fR(1) to find an
23 ordering of a library suitable for one-pass access by \fBld\fR. Note that the
24 link editor \fBld\fR is capable of multiple passes over an archive in the
25 portable archive format (see \fBar.h\fR(3HEAD)) and does not require that
26 \fBlorder\fR be used when building an archive.  The usage of  the \fBlorder\fR
27 command may, however, allow for a more efficient access of the archive during
28 the link edit process.
29 .sp
30 .LP
31 The following example builds a new library from existing \fB\&.o\fR files.
32 .sp
33 .LP
34 \fBar \|\fR\fB-cr\fR\fB \|library \|`\|lorder \|*.o \|| \|tsort\|`  \fR
35 .SH FILES
36 .sp
37 .ne 2
38 .na
39 \fB\fBTMPDIR/*symref\fR\fR
40 .ad
41 .RS 18n
42 temporary files
43 .RE
45 .sp
46 .ne 2
47 .na
48 \fB\fBTMPDIR/*symdef\fR\fR
49 .ad
50 .RS 18n
51 temporary files
52 .RE
54 .sp
55 .ne 2
56 .na
57 \fB\fBTMPDIR\fR\fR
58 .ad
59 .RS 18n
60 usually \fB/var/tmp\fR but can be redefined by setting the environment variable
61 \fBTMPDIR\fR (see \fBtempnam\fR() in \fBtmpnam\fR(3C))
62 .RE
64 .SH SEE ALSO
65 .sp
66 .LP
67 \fBar\fR(1), \fBld\fR(1), \fBtsort\fR(1), \fBtmpnam\fR(3C), \fBar.h\fR(3HEAD),
68 \fBattributes\fR(5)
69 .SH NOTES
70 .sp
71 .LP
72 \fBlorder\fR will accept as input any object or archive file, regardless of its
73 suffix, provided there is more than one input file. If there is but a single
74 input file, its suffix must be \fB\&.o\fR.
75 .sp
76 .LP
77 The length of the filename for \fBTMPDIR\fR is limited to whatever \fBsed\fR
78 allows.