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:

-h, -help

Show help and usage for this command.


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


Use colors in output.


Display the version of this program.


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


Use actual timestamps and UIDs/GIDs.

-o <filename>

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


Produces a static library from the input files.

-filelist <listfile[,dirname]>

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>.


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/>.