caca-config(1)
β¨ caca-config β the manual, but make it cute β¨
okay so bestie, this is the General Commands Manual page for caca-config, and honestly? it's giving "elder millennial who still knows all the tricks" π
πΈ NAME πΈ
caca-config β a script that tells you stuff about the version of libcaca that's actually installed on your machine π¦
π SYNOPSIS π
caca-config [ --prefix= DIR] [ --exec-prefix= DIR] [ --version ] [
--libs ] [ --cflags ]
π DESCRIPTION π
caca-config is that one tool you use to configure things and figure out the compiler and linker flags you need in order to compile and link programs, libraries, and plugins that use libcaca. iconic behaviour, no notes β¨
β οΈ okay so real talk β usingcaca-configis deprecated. the more generic toolpkg-configis the one you should be using instead. periodt π
π OPTIONS π
--cflagsβ prints the compiler flags you need to compile a program or library that useslibcaca. your "please compile bestie" starter pack π«Ά--exec-prefix=DIRβ if you specify this, it usesDIRinstead of the installation exec prefix thatlibcacawas built with when it's computing the output for the--cflagsand--libsoptions. π¨ this option has to come BEFORE any of the--cflagsand--libsoptions β order matters, don't play yourself π¨--libsβ prints the linker flags you need to link a program or library that useslibcaca. the "and now we link it up" moment π--prefix=DIRβ if you specify this, it usesPREFIXinstead of the installation prefix thatlibcacawas built with when it's computing the output for the--cflagsand--libsoptions. it's also used for the exec prefix if--exec-prefixwasn't specified. and yes β this one also has to come before any of the--cflagsand--libsoptions, same energy as above π--versionβ prints the currently installed version oflibcacato standard output. the "who even are you" check π
π EXAMPLES π
gcc -o main.o $(caca-config --cflags) -c main.c
is how you might use caca-config to compile a C source file into an executable program. main character build energy π
gcc -o my_app $(caca-config --libs) main.o util.o
is how you might use caca-config to link compiled objects into an executable program. and that's how the app gets born π¦
π SEE ALSO π
π AUTHOR π
the libcaca library was written by Sam Hocevar <sam@hocevar.net> π
this manual page was written for sdl-config by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project. it was then adapted to libcaca by Sam Hocevar. a whole glow-up arc, we love to see it π
πΈ the sign-off πΈ
this page comes to you from libcaca, dated 2003-11-22 β an absolute vintage queen, still slaying in caca-config(1) πβ¨
mwah, go read pkg-config(1) bestie, it's the moment π
π¦ where this page comes from
- alpine 3.24: libcaca-doc 0.99_beta20-r5 Β· WTFPL
- arch rolling: libcaca 0.99.beta20-7 Β· WTFPL
- debian bookworm: libcaca-dev 0.99.beta20-3+deb12u1 Β· WTFPL-2
- debian trixie: libcaca-dev 0.99.beta20-5+deb13u1 Β· WTFPL-2
- epel 10: libcaca-devel 0.99-0.75.beta20.el10_0 Β· WTFPL
- epel 9: libcaca-devel 0.99-0.69.beta20.el9 Β· WTFPL
- fedora 43: libcaca-devel 0.99-0.80.beta20.fc43 Β· WTFPL
- fedora 43: libcaca-devel 0.99-0.80.beta20.fc43 Β· WTFPL
- fedora 44: libcaca-devel 0.99-0.82.beta20.fc44 Β· WTFPL
- fedora 44: libcaca-devel 0.99-0.82.beta20.fc44 Β· WTFPL
- nixpkgs unstable: libcaca 0.99.beta20
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- ubuntu jammy: libcaca-dev 0.99.beta19-2.2ubuntu4
- ubuntu jammy: libcaca-dev 0.99.beta19-2.2ubuntu4.2
- ubuntu noble: libcaca-dev 0.99.beta20-4build2 Β· WTFPL-2
- ubuntu noble: libcaca-dev 0.99.beta20-4ubuntu0.2 Β· WTFPL-2
- ubuntu questing: libcaca-dev 0.99.beta20-5
- ubuntu questing: libcaca-dev 0.99.beta20-5ubuntu0.25.10.2
- ubuntu resolute: libcaca-dev 0.99.beta20-6ubuntu2 Β· WTFPL-2
- ubuntu resolute: libcaca-dev 0.99.beta20-6ubuntu2.1 Β· WTFPL-2
- ubuntu stonking: libcaca-dev 0.99.beta20-8 Β· WTFPL-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms