g-wrap-config(1)

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.

--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-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.

Releases

7 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–4.0
  2. 6.0–9
  3. 10–11

Author

G-Wrap has been written by Andreas Rottmann, Rob Browning and Christopher Lee.

This manual page was written by Andreas Rottmann, originally for the Debian Project.

From libgwrap-runtime-dev 1.9.15-3.1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.