tsort
[file
]
Perform a topological sort on
file
. Typically used to reorganize an archive library for more efficient handling by
ar
or
ld
. Not very useful.
Find the ordering relationship of all object files, and sort them for access by ld :
lorder *.o | tsort