LLVM-LIBTOOL-DARWIN(1)
π llvm-libtool-darwin β the LLVM libtool for Darwin π
okay so bestie, welcome to the <pink>llvm-libtool-darwin</pink> page β it's part of the LLVM manual set, and it's literally the glow-up of library-making on Darwin β¨
β¨ SYNOPSIS β¨
llvm-libtool-darwin [options] <input files>
that's it. that's the whole vibe. options, then your input files, mwah π
π DESCRIPTION π
llvm-libtool-darwin is the tool for making static and dynamic libraries for Darwin. iconic behavior, honestly π
and for most scenarios?? it works as a drop-in replacement for cctools' libtool. no cap, you can just swap it in. she's flexible like that π§
π₯ OPTIONS π₯
llvm-libtool-darwin supports the following options, bestie β pay attention, there's a lot and they all matter:
-arch_only <architecture>β build a static library only for the<architecture>you named, and ignore every other architecture chillin' in the files. very "you're not on the list, you're not coming in" energy π«-Dβ use zero for timestamps and UIDs/GIDs. and heads up: this is set by default, so she's already doing it unless you say otherwise π-filelist <listfile[,dirname]>β read your input file names from<listfile>, one per line, separated only by newlines. and the way whitespace works here?? any whitespace on a line is assumed to be part of the filename β so don't be out here adding spaces, bestie, they count π and if you also give the directory name,dirname, then it gets prepended to each file name in the<listfile>β¨-h,-helpβ show help and usage for this command. your little rescue button π«Ά-l <x>β searches for the librarylibx.ain the library search path. but here's the twist: if the string<x>ends with.o, then the libraryxis searched for without prependinglibor appending.aβ no dressing up, just the raw name π if the library is found, it's added to the list of input files. otherwise?? an error is raised. periodt π-L <dir>β adds<dir>to the list of directories to search for libraries. they're searched in the order you specified with-L, and before the default search path. and the default search path includes the directories/lib,/usr/liband/usr/local/libβ those are the OGs π-no_warning_for_no_symbolsβ do not warn about files that have no symbols. she's being nice about it π-warnings_as_errorsβ produce a non-zero exit status if any warnings are emitted. warnings get promoted, congrats to them π-o <filename>β specify the output file name. and it must be specified exactly once β exactly once, bestie, not zero, not twice, exactly once β-staticβ produces a static library from the input files. classic, reliable, we love her π-Uβ use actual timestamps and UIDs/GIDs. (y'know, the opposite of-D) β°-Vβ display the version of this program and perform any operation specified. she multitasks, main character energy fr fr π-versionβ display the version of this program and exit immediately. no multitasking here, just version and gone π¦
π EXIT STATUS π
llvm-libtool-darwin exits with a non-zero exit code if there's an error. otherwise, she exits with code 0. clean, simple, no drama π
πΈ BUGS πΈ
to report bugs, please visit <https://github.com/llvm/llvm-project/issues/>. the LLVM team wants to hear it, so don't be shy π«Ά
β SEE ALSO β
llvm-ar(1)β <llvm-ar.html>
π Author
maintained by the LLVM Team (<https://llvm.org/>) β give them a lil round of applause, they earned it π
π Copyright
2003-2026, LLVM Project β protect that copyright, it's been around since 2003, she's an elder icon π
okay that's the whole page bestie, go build some libraries π€ and one last cute lil sign-off: this hotness is from LLVM, dated 2026-05-15 β screenshot it, frame it, whatever, it's giving iconic π¦β¨π
π¦ where this page comes from
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms