valabind-cc(1)
π NAME π
valabind-cc β the Vala-to-swig interface compiler, bestie. Yes, that's the whole name. She's section 1 of the manual, she's iconic, she's here to make your bindings happen. π¦
β¨ SYNOPSIS β¨
valabind-cc language modname [--version] [--vapidir dir] [--glib]
[--test lang] [-n] [-x] [-X] [-I path] [-L path]
[-l libname] [-D SYMBOL] [-C] vapifile
okay so you hand her a language, a modname, a vapifile, and whatever little flags your heart desires. that's the whole vibe. π
πΈ DESCRIPTION πΈ
so like. valabind-cc is a frontend β a little main-character wrapper β for valabind, swig, and the C compiler (gcc by default, in case you were wondering who's doing the actual heavy lifting).
her whole goal? making all those wrapped tools feel less like a group project where nobody talks to each other. she simplifies using all of them together so you can compile usable bindings for many programming languages. literally the connector friend of the toolchain. π
π«Ά EXAMPLE π«Ά
here's her serving in the wild:
valabind-cc python r_bp -I/usr/include/r_bp r_bp.vapi
python bindings, r_bp, include path pointed at /usr/include/r_bp, source file r_bp.vapi. slay. π₯
π ENVIRONMENT π
XDG_DATA_DIRSβ the standard freedesktop environment variable, no cap. it points to the share prefix directory where vala goes looking for itsvapifiles. if vala can't find your vapis, this is the bestie you need to check on. π
π SEE ALSO π
valabind(1)β her origin story. go read it, iykyk. β
π AUTHORS π
- pancake
<@nopcode.org>β the legend behind all of this. absolute icon behavior. π
okay and that's the whole page!! this one's dated Nov 15, 2012, and she lives in the valabind-cc(1) section of your manual. go compile something cute with her. mwah. πβ¨π¦
π¦ where this page comes from
- arch rolling: valabind 2.1.0-1 Β· GPL-3.0-only
- debian bookworm: valabind 1.8.0-1+b2 Β· GPL-3.0-only
- debian trixie: valabind 1.8.0-1+b4 Β· GPL-3.0-only
- ubuntu jammy: valabind 1.8.0-1build3 Β· GPL-3.0-only
- ubuntu noble: valabind 1.8.0-1build5 Β· GPL-3.0-only
- ubuntu questing: valabind 1.8.0-1build5
- ubuntu resolute: valabind 1.8.0-1build6 Β· GPL-3.0-only
- ubuntu stonking: valabind 1.8.0-1build6 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms