DOKK / manpages / debian 12 / llvm-13 / llvm-libtool-darwin-13.1.en
LLVM-LIBTOOL-DARWIN(1) LLVM LLVM-LIBTOOL-DARWIN(1)

llvm-libtool-darwin - LLVM tool for creating libraries for Darwin

llvm-libtool-darwin [options] <input files>

llvm-libtool-darwin is a tool for creating static and dynamic libraries for Darwin.

For most scenarios, it works as a drop-in replacement for cctools’ libtool.

llvm-libtool-darwin supports the following options:

Build a static library only for the specified <architecture> and ignore all other architectures in the files.

Use colors in output.

Use zero for timestamps and UIDs/GIDs. This is set by default.

Read input file names from <listfile>. File names are specified in <listfile> one per line, separated only by newlines. Whitespace on a line is assumed to be part of the filename. If the directory name, dirname, is also specified then it is prepended to each file name in the <listfile>.

Show help and usage for this command.

Show help and usage for this command without grouping the options into categories.

Searches for the library libx.a in the library search path. If the string <x> ends with ‘.o’, then the library ‘x’ is searched for without prepending ‘lib’ or appending ‘.a’. If the library is found, it is added to the list of input files. Otherwise, an error is raised.

Adds <dir> to the list of directories in which to search for libraries. The directories are searched in the order in which they are specified with -L and before the default search path. The default search path includes directories /lib, /usr/lib and /usr/local/lib.

Do not warn about files that have no symbols.

Specify the output file name. Must be specified exactly once.

Produces a static library from the input files.

Use actual timestamps and UIDs/GIDs.

Display the version of this program and perform any operation specified.

Display the version of this program and exit immediately.

llvm-libtool-darwin exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0.

To report bugs, please visit <https://bugs.llvm.org/>.

llvm-ar(1)

Maintained by the LLVM Team (https://llvm.org/).

2003-2023, LLVM Project

2023-01-22 13