objfw-config(1)
π 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 theOBJCFLAGSyou need to use ARC.--cflagsβ outputs theCFLAGSyou need.--cppflagsβ outputs theCPPFLAGSyou need.--cxxflagsβ outputs theCXXFLAGSyou need.--framework-libsβ outputs theLIBSyou need, but it prefers frameworks when it can π--helpβ prints the help. classic. iconic. everyone's fav.--ldflagsβ outputs theLDFLAGSyou need.--libsβ outputs theLIBSyou need.--lib-cflagsβ outputs theCFLAGSfor building a library π--lib-ldflagsβ outputs theLDFLAGSfor building a library π--lib-prefixβ outputs the prefix for libraries.--lib-suffixβ outputs the suffix for libraries.--objcβ outputs theOBJCthat was used to compile ObjFW. and bestie, listen β you have to use the sameOBJCthat was used to compile ObjFW. not a vibe check you can skip, fr fr.--objcflagsβ outputs theOBJCFLAGSyou need.--packagename β 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β outputsCFLAGSfor building a plugin π--plugin-ldflagsβ outputsLDFLAGSfor building a plugin π--plugin-suffixβ outputs the suffix for plugins.--prog-suffixβ outputs the suffix for binaries.--reexportβ outputsLDFLAGSto reexport ObjFW.--rpathβ outputsLDFLAGSfor using rpath.--static-libsβ outputs theLIBSyou 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 πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: objfw-doc 1.5.7-r0 Β· LGPL-3.0-only
- epel 10: libobjfw-devel 1.5.7-1.el10_3 Β· LGPL-3.0-only
- epel 9: libobjfw-devel 1.5.7-1.el9 Β· LGPL-3.0-only
- fedora 43: libobjfw-devel 1.5.7-1.fc43 Β· LGPL-3.0-only
- fedora 43: libobjfw-devel 1.5.7-1.fc43 Β· LGPL-3.0-only
- fedora 44: libobjfw-devel 1.5.1-1.fc44 Β· LGPL-3.0-only
- fedora 44: libobjfw-devel 1.5.1-1.fc44 Β· LGPL-3.0-only
- fedora 44: libobjfw-devel 1.5.7-1.fc44 Β· LGPL-3.0-only
- fedora 44: libobjfw-devel 1.5.7-1.fc44 Β· LGPL-3.0-only
- nixos 26.05: objfw 1.5.2
- nixpkgs unstable: objfw 1.5.7
- ubuntu resolute: libobjfw1-dev 1.4.4-1 Β· LGPL-3.0-only
- ubuntu stonking: libobjfw1-dev 1.5.7-1 Β· LGPL-3.0-only
- Copyright (c) 2008-2026 Jonathan Schleifer <js@nil.im>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms