objfw-config(1)

πŸ“¦
version 1.5.7 Β· 2 versions
, in alpine 3.24, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– objfw-config(1) πŸ’–

okay bestie, so you know that one little command that lives in the General Commands Manual and tells you literally everything you need to know to compile stuff with ObjFW? yeah. that one. welcome to objfw-config and she is so useful, i'm obsessed 🫢


✨ NAME ✨

objfw-config β€” prints out all the flags you need for compiling with ObjFW πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

objfw-config [options]

that's it. that's the whole vibe. no positional args, just options, and she'll spill the flags for you πŸŽ€


🌸 DESCRIPTION 🌸

so like, objfw-config is this little program whose whole entire job is outputting the various flags you need to compile software that uses ObjFW. no cap. she doesn't build anything, she doesn't install anything, she just tells you the flags and you go do your thing. main character energy honestly πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • --all β€” outputs all the flags plus the libs. the whole package. the full set. slay ✨
  • --arc β€” outputs the OBJCFLAGS you need to use ARC.
  • --cflags β€” outputs the CFLAGS you need.
  • --cppflags β€” outputs the CPPFLAGS you need.
  • --cxxflags β€” outputs the CXXFLAGS you need.
  • --framework-libs β€” outputs the LIBS you need, but it prefers frameworks when it can πŸ“
  • --help β€” prints the help. classic. iconic. everyone's fav.
  • --ldflags β€” outputs the LDFLAGS you need.
  • --libs β€” outputs the LIBS you need.
  • --lib-cflags β€” outputs the CFLAGS for building a library πŸ“š
  • --lib-ldflags β€” outputs the LDFLAGS for building a library πŸ“š
  • --lib-prefix β€” outputs the prefix for libraries.
  • --lib-suffix β€” outputs the suffix for libraries.
  • --objc β€” outputs the OBJC that was used to compile ObjFW. and bestie, listen β€” you have to use the same OBJC that was used to compile ObjFW. not a vibe check you can skip, fr fr.
  • --objcflags β€” outputs the OBJCFLAGS you need.
  • --package name β€” additionally outputs the flags for the package you named. (yes, additionally. she's stacking them 🧚)
  • --packages-dir β€” outputs the directory where the flags for packages are stored.
  • --plugin-cflags β€” outputs CFLAGS for building a plugin πŸ”Œ
  • --plugin-ldflags β€” outputs LDFLAGS for building a plugin πŸ”Œ
  • --plugin-suffix β€” outputs the suffix for plugins.
  • --prog-suffix β€” outputs the suffix for binaries.
  • --reexport β€” outputs LDFLAGS to reexport ObjFW.
  • --rpath β€” outputs LDFLAGS for using rpath.
  • --static-libs β€” outputs the LIBS you need to link ObjFW statically. she's solid, she's not moving πŸ’€
  • --version β€” outputs the installed ObjFW version. so you can be like "wait what version am i on" and she'll tell you immediately ⭐

🌈 EXAMPLES 🌈

print OBJCFLAGS and CPPFLAGS together, because why choose one when you can have both:

objfw-config --objcflags --cppflags

print LIBS and LDFLAGS for ObjFW and ObjFWTLS (the --package girlies know):

objfw-config --libs --ldflags --package ObjFWTLS

πŸ‘‘ SEE ALSO πŸ‘‘

objfw-compile(1) β€” her sister command, go say hi 🫢


and that's the whole page bestie!! this one came straight out of the General Commands Manual as objfw-config(1) β€” go forth and compile something gorgeous, you've got this πŸ’–βœ¨πŸŽ€πŸ¦‹