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       -o <filename>
60              Specify the output file name. Must be specified exactly once.
61
62       -static
63              Produces a static library from the input files.
64
65       -U     Use actual timestamps and UIDs/GIDs.
66
67       -V     Display  the  version  of this program and perform any operation
68              specified.
69
70       -version
71              Display the version of this program and exit immediately.
72

EXIT STATUS

74       llvm-libtool-darwin exits with a non-zero exit code if there is an  er‐
75       ror.  Otherwise, it exits with code 0.
76

BUGS

78       To         report         bugs,         please         visit         <‐
79       https://github.com/llvm/llvm-project/issues/>.
80

SEE ALSO

82       llvm-ar(1)
83

AUTHOR

85       Maintained by the LLVM Team (https://llvm.org/).
86
88       2003-2022, LLVM Project
89
90
91
92
9314                                2022-09-12            LLVM-LIBTOOL-DARWIN(1)
Impressum