summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/lorder.1
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man1/lorder.1
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man1/lorder.1')
-rw-r--r--static/unix-v10/man1/lorder.140
1 files changed, 40 insertions, 0 deletions
diff --git a/static/unix-v10/man1/lorder.1 b/static/unix-v10/man1/lorder.1
new file mode 100644
index 00000000..233f7d6a
--- /dev/null
+++ b/static/unix-v10/man1/lorder.1
@@ -0,0 +1,40 @@
+.TH LORDER 1
+.CT 1 lib_obj
+.SH NAME
+lorder \(mi find ordering relation for an object library
+.SH SYNOPSIS
+.B lorder
+.I file ...
+.SH DESCRIPTION
+The input
+is one or more object or library archive (see
+.IR ar (1))
+.I files.
+The standard output
+is a list of pairs of object file names,
+meaning that the first file of the pair refers to
+external identifiers defined in the second.
+The output may be processed by
+.IR tsort (1)
+to find an ordering of
+a library suitable for one-pass sequential access by
+.IR ld (1).
+.SH EXAMPLES
+.TP
+.L
+ar cr libnew.a \`lorder *.o | tsort\`
+Build a new library from existing
+.B .o
+files.
+.SH FILES
+.F /tmp/*symref
+.br
+.F /tmp/*symdef
+.SH "SEE ALSO"
+.IR ar (1),
+.IR tsort (1),
+.IR ld (1)
+.SH BUGS
+The names of object files, in and out of libraries, must end with
+.BR .o ;
+nonsense results otherwise.