g-wrap-config1
Script to get information about the installed version of g-wrap
Usage
g-wrap-config [--version]
[{--c-compile-args
LANG | --c-link-args
LANG | --guile-module-directory}]
Overview
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.
Options
-
--c-compile-args LANG -
Print the compiler flags that are necessary to compile a program or library that uses the G-Wrap language binding for LANG.
-
--c-link-args LANG -
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.
Examples
- gcc -o main.o $(g-wrap-config --c-compile-args guile) main.c
-
is how you might use
g-wrap-configto 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-configto link compiled objects into an executable program.
Releases
7 releases since Debian 3.1 (Sarge); the text changed 2 times.