1LLVM-LIBTOOL-DARWIN(1)               LLVM               LLVM-LIBTOOL-DARWIN(1)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

12       llvm-libtool-darwin is a tool for creating static and dynamic libraries
13       for Darwin.
14
15       For most scenarios, it works as  a  drop-in  replacement  for  cctools'
16       libtool.
17

OPTIONS

19       llvm-libtool-darwin supports the following options:
20
21       -arch_only <architecture>
22              Build a static library only for the specified <architecture> and
23              ignore all other architectures in the files.
24
25       -color Use colors in output.
26
27       -D     Use zero for timestamps and UIDs/GIDs. This is set by default.
28
29       -filelist <listfile[,dirname]>
30              Read input file names from <listfile>. File names are  specified
31              in  <listfile>  one per line, separated only by newlines. White‐
32              space on a line is assumed to be part of the  filename.  If  the
33              directory  name, dirname, is also specified then it is prepended
34              to each file name in the <listfile>.
35
36       -h, -help
37              Show help and usage for this command.
38
39       -help-list
40              Show help and usage for this command without  grouping  the  op‐
41              tions into categories.
42
43       -l <x> Searches  for  the library libx.a in the library search path. If
44              the string <x> ends with '.o', then the library 'x' is  searched
45              for  without  prepending 'lib' or appending '.a'. If the library
46              is found, it is added to the list of input files. Otherwise,  an
47              error is raised.
48
49       -L <dir>
50              Adds <dir> to the list of directories in which to search for li‐
51              braries. The directories are searched in the order in which they
52              are  specified  with  -L and before the default search path. The
53              default search path  includes  directories  /lib,  /usr/lib  and
54              /usr/local/lib.
55
56       -o <filename>
57              Specify the output file name. Must be specified exactly once.
58
59       -static
60              Produces a static library from the input files.
61
62       -U     Use actual timestamps and UIDs/GIDs.
63
64       -V     Display  the  version  of this program and perform any operation
65              specified.
66
67       -version
68              Display the version of this program and exit immediately.
69

EXIT STATUS

71       llvm-libtool-darwin exits with a non-zero exit code if there is an  er‐
72       ror.  Otherwise, it exits with code 0.
73

BUGS

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

SEE ALSO

78       llvm-ar(1)
79

AUTHOR

81       Maintained by the LLVM Team (https://llvm.org/).
82
84       2003-2023, LLVM Project
85
86
87
88
8912                                2023-07-20            LLVM-LIBTOOL-DARWIN(1)
Impressum