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       -no_warning_for_no_symbols
57              Do not warn about files that have no symbols.
58
59       -warnings_as_errors
60              Produce a non-zero exit status if any warnings are emitted.
61
62       -o <filename>
63              Specify the output file name. Must be specified exactly once.
64
65       -static
66              Produces a static library from the input files.
67
68       -U     Use actual timestamps and UIDs/GIDs.
69
70       -V     Display  the  version  of this program and perform any operation
71              specified.
72
73       -version
74              Display the version of this program and exit immediately.
75

EXIT STATUS

77       llvm-libtool-darwin exits with a non-zero exit code if there is an  er‐
78       ror.  Otherwise, it exits with code 0.
79

BUGS

81       To         report         bugs,         please         visit         <‐
82       https://github.com/llvm/llvm-project/issues/>.
83

SEE ALSO

85       llvm-ar(1)
86

AUTHOR

88       Maintained by the LLVM Team (https://llvm.org/).
89
91       2003-2023, LLVM Project
92
93
94
95
9615                                2023-07-20            LLVM-LIBTOOL-DARWIN(1)
Impressum