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       -D     Use zero for timestamps and UIDs/GIDs. This is set by default.
26
27       -filelist <listfile[,dirname]>
28              Read input file names from <listfile>. File names are  specified
29              in  <listfile>  one per line, separated only by newlines. White‐
30              space on a line is assumed to be part of the  filename.  If  the
31              directory  name, dirname, is also specified then it is prepended
32              to each file name in the <listfile>.
33
34       -h, -help
35              Show help and usage for this command.
36
37       -l <x> Searches for the library libx.a in the library search  path.  If
38              the  string <x> ends with '.o', then the library 'x' is searched
39              for without prepending 'lib' or appending '.a'. If  the  library
40              is  found, it is added to the list of input files. Otherwise, an
41              error is raised.
42
43       -L <dir>
44              Adds <dir> to the list of directories in which to search for li‐
45              braries. The directories are searched in the order in which they
46              are specified with -L and before the default  search  path.  The
47              default  search  path  includes  directories  /lib, /usr/lib and
48              /usr/local/lib.
49
50       -no_warning_for_no_symbols
51              Do not warn about files that have no symbols.
52
53       -warnings_as_errors
54              Produce a non-zero exit status if any warnings are emitted.
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         <‐
76       https://github.com/llvm/llvm-project/issues/>.
77

SEE ALSO

79       llvm-ar(1)
80

AUTHOR

82       Maintained by the LLVM Team (https://llvm.org/).
83
85       2003-2023, LLVM Project
86
87
88
89
9017                                2023-11-28            LLVM-LIBTOOL-DARWIN(1)
Impressum