返回命令列表

Linux command

lorder 命令

文本

Copy it and replace filenames, paths, or keywords as needed.

命令示例

Find library dependencies

lorder [*.o]

Create library order

lorder [*.o] | tsort

Process specific files

lorder [file1.o] [file2.o] [file3.o]

Pipe to archive creation

ar cr libfoo.a $(lorder [*.o] | tsort)

说明

lorder lists dependencies between object files. It outputs pairs showing which files depend on others. The output is typically piped to tsort to determine correct ordering for static libraries.

FAQ

What is the lorder command used for?

lorder lists dependencies between object files. It outputs pairs showing which files depend on others. The output is typically piped to tsort to determine correct ordering for static libraries.

How do I run a basic lorder example?

Run `lorder [*.o]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more lorder examples?

This page includes 4 examples for lorder, plus related commands for nearby Linux tasks.