LLVM-LIBTOOL-DARWIN(1)
π llvm-libtool-darwin β the manual, but make it make sense π
okay bestie, so this is the page for llvm-libtool-darwin, living in section 1 of the LLVM manual set. It's giving "I make libraries for Darwin" and honestly? It eats. πΈ
β¨ NAME β¨
llvm-libtool-darwin β the LLVM tool for creating libraries for Darwin π
π¦ SYNOPSIS π¦
llvm-libtool-darwin [options] <input files>
π DESCRIPTION π
So like, llvm-libtool-darwin is a tool for creating static and dynamic libraries for Darwin. That's the whole vibe. β¨
And for most scenarios, it works as a drop-in replacement for cctools' libtool. No cap β you can just swap it in and go. π
π OPTIONS π
llvm-libtool-darwin supports the following options, and yes, we're going through all of them, no skipping:
-arch_only<architecture>β builds a static library only for the specified<architecture>and just... ignores every other architecture in the files. Iconic. Selective. π-colorβ uses colors in output. a little sparkle for your terminal π-Dβ use zero for timestamps and UIDs/GIDs. This one is set by default, so it's already doing the most without you asking. π«Ά-filelist<listfile[,dirname]>β reads input file names from<listfile>. File names go in<listfile>one per line, separated only by newlines. Whitespace on a line is assumed to be part of the filename (so don't be cute with your spacing, it counts). If the directory name,dirname, is also specified, then it gets prepended to each file name in the<listfile>. π-h,-helpβ show help and usage for this command. classic.-help-listβ show help and usage for this command without grouping the options into categories. just raw, unfiltered list energy. π-l<x>β searches for the librarylibx.ain the library search path. But wait, there's lore: if the string<x>ends with.o, then the libraryxis searched for without prependinglibor appending.a. 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 in which to search for libraries. The directories are searched in the order in which they are specified with-Land before the default search path. And the default search path includes the directories/lib,/usr/liband/usr/local/lib. order matters bestie, don't forget it. π§-no_warning_for_no_symbolsβ do not warn about files that have no symbols. silence is golden, etc. π€«-warnings_as_errorsβ produce a non-zero exit status if any warnings are emitted. no chill, warnings are crimes now. π-o<filename>β specify the output file name. Must be specified exactly once. not twice. exactly once. I'm serious. β-staticβ produces a static library from the input files. π-Uβ use actual timestamps and UIDs/GIDs. the opposite of-D, if you will. π-Vβ display the version of this program and perform any operation specified. yes, both. it's an overachiever. πΈ-versionβ display the version of this program and exit immediately. no operations, we're leaving. bye. π
π₯ EXIT STATUS π₯
llvm-libtool-darwin exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0. simple as that. π
π BUGS π
To report bugs, please visit <https://github.com/llvm/llvm-project/issues/>. go tell them, they wanna know. π«Ά
π SEE ALSO π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). they're doing great, honestly. π
π COPYRIGHT π
2003-2024, LLVM Project
okay that's the whole page bestie, you're officially educated π β¨
signing off from LLVM release 15, dated 2024-04-14 β mwah, go build something iconic ππ¦
π¦ where this page comes from
- ubuntu noble: llvm-16 1:16.0.6-23ubuntu4 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms