freealut-config(1)
π freealut-config(1) β the General Commands Manual glow-up π
okay bestie, so this is freealut-config, and it lives in section 1 of the General Commands Manual. she's a little script with one job and she's been doing it since forever. let's get into it π«Ά
β¨ NAME β¨
freealut-config β a script to get information about the installed version of freealut πΈ
π SYNOPSIS π
freealut-config [ --prefix= DIR] [ --exec-prefix= DIR] [ --version ] [
--libs ] [ --cflags ]
π DESCRIPTION π
so basically, freealut-config is the little tool you run when you need to figure out the compiler and linker flags you should be using to compile and link programs, libraries, and plugins that use freealut. it's the middleman between your build and the actual installed library. iconic behavior, honestly. β¨
β οΈ but listen, bestie, this is the important part: usingfreealut-configis deprecated. like, lowkey past its moment. the more generic toolpkg-configshould be used instead. no cap, that's what the manpage says. π
π OPTIONS π
--cflagsβ prints out the compiler flags that are necessary to compile a program or library that uses freealut. you need these, she's giving them to you, that's the whole vibe. π--exec-prefix=DIRβ if you specify this,DIRgets used instead of the installation exec prefix that freealut was built with when it computes the output for the--cflagsand--libsoptions. π¦ and here's the catch β this option must be specified before any of the--cflagsand--libsoptions. order matters, she's picky like that. β¨--libsβ prints out the linker flags that are necessary to link a program or library that uses freealut. so you can actually, you know, link the thing. π₯--prefix=DIRβ if you specify this,PREFIXgets used instead of the installation prefix that freealut was built with when computing the output for the--cflagsand--libsoptions. also, this one is used for the exec prefix too if--exec-prefixwasn't specified. multitasking queen. π and again β this option must be specified before any of the--cflagsand--libsoptions. π--versionβ prints the currently installed version of freealut on standard output. just the version. that's it. she ate. β
π§ EXAMPLES π§
okay so here's how you'd actually use her. two moods, both slay:
gcc -o main.o $(freealut-config --cflags) -c main.c
that's how you might use freealut-config to compile a C source file for an executable program. πΈ
gcc -o my_app $(freealut-config --libs) main.o util.o
and that's how you might use freealut-config to link compiled objects into an executable program. π
π« SEE ALSO π«
pkg-config(1)β the tool you should actually be using, fr fr. π
this manual page was written for sdl-config by Branden Robinson, originally for Progeny Linux Systems, Inc. and the Debian Project. it was adapted to freealut by Sam Hocevar. π giving credit where credit is due, we love to see it.
and that's the whole page, bestie!! β¨π π¦
cute little sign-off to close us out: this is from the freealut source, dated 2003-11-22. periodt. πππΈ
π¦ where this page comes from
- debian bookworm: libalut-dev 1.1.0-6 Β· LGPL-2.0-only
- debian trixie: libalut-dev 1.1.0-7 Β· LGPL-2.0-only
- ubuntu jammy: libalut-dev 1.1.0-6 Β· LGPL-2.0-only
- ubuntu noble: libalut-dev 1.1.0-6build1 Β· LGPL-2.0-only
- ubuntu questing: libalut-dev 1.1.0-7
- ubuntu resolute: libalut-dev 1.1.0-7build1 Β· LGPL-2.0-only
- ubuntu stonking: libalut-dev 1.1.0-8 Β· LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms