Scroll to navigation

GAUCHE-CONFIG(1) Gauche Commands GAUCHE-CONFIG(1)

NAME

gauche-config - retrieve configuration parameters of Gauche

SYNOPSIS

gauche-config option

DESCRIPTION

Gauche-config displays various parameters specified at the configuration time of the Gauche Scheme implementation. It can be used in Makefile and other configuration scripts that uses Gauche.

OPTIONS

General parameter

The current Gauche version.

Parameters to compile applications using Gauche

Include path options required to compile programs using Gauche (Note: This doesn't work if Gauche installation directory path contains whitespaces. See --incdirs below.)
Library path options required to link programs using Gauche (Note: This doesn't work if Gauche installation directory path contains whitespaces. See --archdirs below.)
Link library options required to link programs using Gauche.
The name of the C compiler used to compile this Gauche.
The command to run the C preprocessor.
The directory that contains Gauche-specific autoconf macros.
The command line used to configure the current installation.
The autoconf-style architecture signature (cpu-vendor-kernel-os).
The list of directory names to be looked for include files and libraries, respectively. Each directory name may be quoted if it contains whitespaces, and separated by ':' on Unix platforms, or by ';' on Windows platforms.
These are '-I' and '-L' flags for additional local headers/libraries to search, given by '--with-local' configure flags. Note that those are also included in '-I', '-L', '--incdirs', and '--archdirs'.

Parameters to install files

The directory prefix set by configure.
Directories where system|site|package header files of extensions go.
Directories where system|site|package scheme files go.
Directories where system|site|package DSO files go.
Directories where gauche manpage and info docs are installed.

Parameters to help building extensions

The extension of the compiled objects (e.g. 'o' or 'obj').
The extension of the executable including a period (empty on Unix systems,
The extension for dynamically loadable (dlopen-able) modules (e.g. 'so').
Additional CFLAGS to create dynamically loadable modules.
Additional LDFLAGS to create dynamically loadable modules.
Additional libraries required to create dynamically loadable modules.
The extension for dynamically linked libraries (as opposed to dlopen()ed) Usually the same as --so-suffix, but OSX wants 'dylib'.
LDFLAGS to create dynamically linked libraries.
Compiler flag(s) to embed RPATH
This is the CFLAGS used to compile Gauche, and to be used to compile extensions as well.
Compiler flag(s) passed to C preprocessor
List of library link flags ('-llib') required to link Gauche statically. Similar to '-l', but this includes the libraries that are used for extension modules, and also the static library itself, that is -lgauche-static-X.X.
The base name of dynamically linked libgauche.

AUTHORS

Shiro Kawai (shiro @ acm . org)

SEE ALSO

gosh(1), gauche-package(1)

Gauche Scheme script engine:
https://practical-scheme.net/gauche/

Gauche 0.9.15-p2