LLVM-LIBTOOL-DARWIN(1)

πŸ“¦ version 15.0.7, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

llvm-libtool-darwin β€” the LLVM tool for making libraries for Darwin, bestie ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

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

🌸 DESCRIPTION 🌸

Okay so picture this: llvm-libtool-darwin is literally a tool for creating static and dynamic libraries for Darwin πŸ‘‘ that's the whole vibe.

And the tea is, for most scenarios it works as a drop-in replacement for cctools' libtool. Like, drop-in. No cap, you can just slide it in there πŸ’…

✨ OPTIONS ✨

llvm-libtool-darwin supports the following options, and yes we're listing every single one πŸŽ€

  • -arch_only <architecture> β€” build a static library only for the specified <architecture>, and ignore all the other architectures chilling in the files. one (1) architecture only, she's exclusive πŸ™ˆ
  • -color β€” use colors in output 🌈 pretty output rights!
  • -D β€” use zero for timestamps and UIDs/GIDs. this one is set by default, so it's already your main character even if you don't ask 🫢
  • -filelist <listfile[,dirname]> β€” read input file names from <listfile>. the file names are specified in <listfile> one per line, separated only by newlines. whitespace on a line is assumed to be part of the filename (yes, literally part of it, no trimming πŸ’€). and if the directory name, dirname, is also specified, then it's 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 without grouping the options into categories. chaotic ungrouped energy, love that for us ⭐
  • -l <x> β€” searches for the library libx.a in the library search path. but wait, plot twist: if the string <x> ends with .o, then the library x is searched for without prepending lib or appending .a. if the library is found, it's added to the list of input files. otherwise, an error is raised β€” no library, no service 😭
  • -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 -L, and before the default search path. the default search path includes the directories /lib, /usr/lib and /usr/local/lib πŸ‘‘
  • -no_warning_for_no_symbols β€” do not warn about files that have no symbols. silence, bestie, please 🀫
  • -warnings_as_errors β€” produce a non-zero exit status if any warnings are emitted. warnings? promoted to errors, congrats on the promotion πŸ’€
  • -o <filename> β€” specify the output file name. and it must be specified exactly once. exactly. once. don't try it 🎯
  • -static β€” produces a static library from the input files πŸ’–
  • -U β€” use actual timestamps and UIDs/GIDs. like the real ones, the true ones ✨
  • -V β€” display the version of this program and perform any operation specified. version info plus the actual work, multitasking icon 🧚
  • -version β€” display the version of this program and exit immediately. bye, that's it, she leaves right after πŸ¦‹

πŸŽ€ EXIT STATUS πŸŽ€

llvm-libtool-darwin exits with a non-zero exit code if there's an error. otherwise, it exits with code 0 ⭐ that's it, that's the whole system.

πŸ’… BUGS πŸ’…

To report bugs, please visit <https://github.com/llvm/llvm-project/issues/> 🫢 go tell them everything, they want to hear it.

πŸ“ SEE ALSO πŸ“

llvm-ar(1) β€” go give it a read, iykyk πŸ’œ

🌈 AUTHOR 🌈

Maintained by the LLVM Team (https://llvm.org/) πŸ‘‘ icons only.

2003-2023, LLVM Project 🌸


okay that's the page, bestie ✨ this was page 15, dated 2023-01-14, from LLVM-LIBTOOL-DARWIN(1) β€” drink some water, go build a library, ily πŸ’œπŸ¦‹

πŸ“¦ where this page comes from