g-wrap-config(1)
π NAME π
g-wrap-config β a lil script that spills the tea on which version of G-Wrap you've got installed π«Ά
β¨ SYNOPSIS β¨
g-wrap-config [ --version ] [ --c-compile-args LANG | --c-link-args LANG
| --guile-module-directory ]
πΈ DESCRIPTION πΈ
Okay so bestie, g-wrap-config is the tool you hit up when you need to figure out the compiler and linker flags for building stuff that uses G-Wrap β think programs, libraries, plugins, the whole vibe. It's giving "personal assistant for your build system." π
But here's the thing, and I need you to sit down for this: since G-Wrap 1.9, this tool has been deprecated in favor of pkg-config(1). π Not me delivering bad news. New code should be using the g-wrap-2.0-guile pkg-config module instead. g-wrap-config is literally only still here for compatibility reasons β it's an icon, but it's a retired icon. π
fr fr, if you're writing something new, do not build it ong-wrap-config. Usepkg-config(1)with theg-wrap-2.0-guilemodule. Periodt. π
π¦ OPTIONS π¦
--c-compile-args LANGβ prints out the compiler flags you need to compile a program or library that uses the G-Wrap language binding for LANG. Compile-flag caterer, basically. β¨--c-link-args LANGβ prints out the linker flags you need to link a program that uses the G-Wrap language binding for LANG. Linker-flag caterer, matching set. π--versionβ prints the version of G-Wrap you currently have installed, straight to standard output. Simple, iconic, does exactly what it says on the tin. β
π tiny aside: the synopsis also name-drops --guile-module-directory, but OPTIONS doesn't say a single word about it, so we're leaving that mystery exactly where we found it. iykyk.
π EXAMPLES π
So here's how you'd actually use this thing in the wild, bestie:
gcc -o main.o $(g-wrap-config --c-compile-args guile) main.c
That's how you might use g-wrap-config to compile a C source file for an executable program. π§
gcc -o my_app $(g-wrap-config --c-link-args guile) main.o util.o
And that's how you might use g-wrap-config to link compiled objects into an executable program. Slay. π₯
π AUTHOR π
G-Wrap has been written by Andreas Rottmann, Rob Browning and Christopher Lee. Absolute legends, all three. π«Ά
This manual page was written by Andreas Rottmann, originally for the Debian Project. π
okay that's the whole page, mwah π β this was G-Wrap 1.9, dated 2005-05-01, and it lives in section 1 of the manual because of course it does. bye bestie, go use pkg-config π
π¦ where this page comes from
- ubuntu jammy: libgwrap-runtime-dev 1.9.15-3.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms