LLVM-LIBTOOL-DARWIN(1)

LLVM-LIBTOOL-DARWIN(1) πŸ¦‹

okay so hiii bestie πŸ’– this is the LLVM manual page for llvm-libtool-darwin β€” yes, the whole vibe is β€œlet’s make a library on Darwin and make it cute.” No cap, every detail is still here.


NAME ✨

llvm-libtool-darwin β€” LLVM tool for creating libraries for Darwin πŸ“

SYNOPSIS πŸŽ€

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

DESCRIPTION πŸ’…

llvm-libtool-darwin is a tool for creating static and dynamic libraries for Darwin. It’s giving β€œlibrary-maker main character energy” 😌

For most scenarios, it works as a drop-in replacement for cctools' libtool. So like… yes, bestie, it’s meant to slot in and slay 🫢

OPTIONS 🌈

llvm-libtool-darwin supports the following options:

  • -arch_only <architecture> β€” Build a static library only for the specified <architecture> and ignore all other architectures in the files. One architecture only, periodt ✨
  • -D β€” Use zero for timestamps and UIDs/GIDs. This is set by default. Zeroes are the default vibe πŸ’€
  • -filelist <listfile[,dirname]> β€” Read input file names from <listfile>. 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. If the directory name, dirname, is also specified then it is prepended to each file name in the <listfile>.
  • -h, -help β€” Show help and usage for this command. Your little β€œwhat do I do” button πŸŽ€
  • -l <x> β€” Searches for the library libx.a in the library search path. 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 is added to the list of input files. Otherwise, an error is raised. Very β€œfind it or catch these errors” πŸ’…
  • -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 directories /lib, /usr/lib and /usr/local/lib.
  • -no_warning_for_no_symbols β€” Do not warn about files that have no symbols. Quiet mode for the symbol-less girlies 🀫
  • -warnings_as_errors β€” Produce a non-zero exit status if any warnings are emitted. Warnings said β€œnot today,” and now they’re errors 😭
  • -o <filename> β€” Specify the output file name. Must be specified exactly once. This is not a β€œmaybe” situation, bestie β€” exactly once 🚨
  • -static β€” Produces a static library from the input files. Static library time ✨
  • -U β€” Use actual timestamps and UIDs/GIDs. Real values instead of the zeroed-out default πŸ‘‘
  • -V β€” Display the version of this program and perform any operation specified. Version check plus the operation you already asked for, multitasking icon πŸ’…
  • -version β€” Display the version of this program and exit immediately. Version check and then peace out πŸ¦‹

EXIT STATUS ⭐

llvm-libtool-darwin exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0.

So yeah: error = non-zero, all good = 0. Simple as that, fr fr πŸ’œ

BUGS πŸ›

To report bugs, please visit https://github.com/llvm/llvm-project/issues/. Bugs are not the vibe, so go tell the LLVM people 🫢

SEE ALSO πŸ”₯

  • llvm-ar(1) β€” another LLVM tool bestie you might wanna check out πŸ‘€

AUTHOR 🌸

Maintained by the LLVM Team (https://llvm.org/). The LLVM Team is literally keeping this whole thing running 24/7 🧚

2003-2025, LLVM Project


xoxo, your LLVM bestie πŸ’œ β€” source/version: 19; date: 2025-01-17; page: LLVM-LIBTOOL-DARWIN(1). Slay and read your man pages responsibly πŸ¦‹

πŸ“¦ where this page comes from