g-wrap-config - script to get information about the installed version of G-Wrap
Contents
Description
g-wrap-config is a tool that is used to configure and determine the compiler and linker flags that should
be used to compile and link programs, libraries, and plugins that use G-Wrap. However, since G-Wrap 1.9,
this tool has been deprecated in favor of pkg-config(1). New code should use the g-wrap-2.0-guile pkg-
config module, g-wrap-config only exists for compatibility reasons.
Examples
gcc -o main.o $(g-wrap-config --c-compile-args guile) main.c
is 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
is how you might use g-wrap-config to link compiled objects into an executable program.
Name
g-wrap-config - script to get information about the installed version of G-Wrap
Options
--c-compile-argsLANG
Print the compiler flags that are necessary to compile a program or library that uses the G-Wrap
language binding for LANG.
--c-link-argsLANG
Print the linker flags that are necessary to link a program that uses the G-Wrap language binding
for LANG.
--version
Prints the currently installed version of G-Wrap on standard output.
Synopsis
g-wrap-config [ --version ] [ --c-compile-args LANG | --c-link-args LANG | --guile-module-directory ]
