g-wrap-config(1)

πŸ“¦
version 1.9.15 Β· 2 versions
, in ubuntu jammy

πŸ’– 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 on g-wrap-config. Use pkg-config(1) with the g-wrap-2.0-guile module. 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