LLVM-LIBTOOL-DARWIN(1)

πŸ“¦
version 12.0.1 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– llvm-libtool-darwin πŸ’–

okay so bestie, welcome to the LLVM manual page for llvm-libtool-darwin β€” it's the LLVM tool for creating libraries for Darwin, and honestly? she's serving. let's get into it. πŸ¦‹


✨ NAME ✨

llvm-libtool-darwin β€” the LLVM tool for creating libraries for Darwin. periodt. πŸ’…


🌸 SYNOPSIS 🌸

llvm-libtool-darwin [options] <input files>

πŸŽ€ DESCRIPTION πŸŽ€

llvm-libtool-darwin is a tool for creating static and dynamic libraries for Darwin. that's the whole vibe. libraries. built. iconic.

For most scenarios, it works as a drop-in replacement for cctools' libtool. no cap β€” you can just swap her in and she eats. πŸ”₯


πŸ’… OPTIONS πŸ’…

llvm-libtool-darwin supports the following options:

  • -arch_only <architecture> β€” build a static library only for the specified <architecture> and ignore every other architecture hanging out in the files. like, we're being exclusive here, and that's on purpose. πŸ™ˆ
  • -color β€” use colors in output. aesthetic ✨
  • -D β€” use zero for timestamps and UIDs/GIDs. this one is set by default, so she's already doing it unless you say otherwise.
  • -filelist <listfile[,dirname]> β€” read the input file names from <listfile>. the file names go in <listfile> one per line, separated only by newlines β€” so any whitespace on a line is assumed to be part of the filename, no exceptions bestie. and 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.
  • -help-list β€” show help and usage for this command, but without grouping the options into categories. just one big beautiful list. 🌈
  • -l <x> β€” searches for the library libx.a in the library search path. okay but here's the twist: if the string <x> ends with '.o', then the library 'x' is searched for without prepending 'lib' or appending '.a'. and if the library is found, it gets added to the list of input files. if it's not found? an error is raised. πŸ’€
  • -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're specified with -L, and before the default search path. that default search path includes the directories /lib, /usr/lib and /usr/local/lib. so yeah, your -L dirs get first dibs. πŸ‘‘
  • -o <filename> β€” specify the output file name. must be specified exactly once. no more, no less. one time only. 😭
  • -static β€” produces a static library from the input files.
  • -U β€” use actual timestamps and UIDs/GIDs. (yes, this is the opposite of -D. they're giving enemies to lovers.) πŸ₯°
  • -V β€” display the version of this program and perform any operation specified. multitasking queen.
  • -version β€” display the version of this program and exit immediately. no extra steps, she's out. πŸ’¨

⭐ EXIT STATUS ⭐

llvm-libtool-darwin exits with a non-zero exit code if there's an error. otherwise, it exits with code 0. simple as that. ✨


😭 BUGS 😭

To report bugs, please visit <https://bugs.llvm.org/>.

bestie if you found a bug, tell the LLVM team, don't just suffer in silence. they want to know. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

llvm-ar(1)


πŸ‘‘ AUTHOR πŸ‘‘

Maintained by the LLVM Team (https://llvm.org/).


2003-2024, LLVM Project


and that's the whole page, bestie!! this was LLVM's LLVM-LIBTOOL-DARWIN(1) manual, dated 2024-07-18, version LLVM. go build some libraries, you absolute main character. πŸŽ€πŸ’–βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from