gauche-config man page

gauche-config — retrieve configuration parameters of Gauche


gauche-config option


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.


General parameters

Gauche version.
Prints the command line used to configure the current Gauche installation. It is pretty handy to configure another Gauche source tree with the same configuration; just type `gauche-config --reconfigure | sh'.

Parameters to compile an application using Gauche

-I, -L, -l
List of "-I" options (include directories), "-L" options (library directories), and "-l" options (libraries) for the compiler which are required to compile applications that links Gauche library.
Name of the compiler used to compile the current installation.
Directory name that contains Gauche specific autoconf macro.
The architecture signature, which is used in the pathname of architecture-dependent files, e.g. "i686-pc-linux-gnu".

Parameters to install files

--syslibdir, --sysarchdir, --sysincdir
Directories where the Gauche core system's Scheme files, architecture-dependent files, and header files are installed, respectively. These directories belong to Gauche core; additional packages should not put files in them.
--sitelibdir, --sitearchdir, --siteincdir
Directories where the additional packages will put Scheme files, architecture-dependent files, and header files, respectively.
--pkglibdir, --pkgarchdir, --pkgincdir
Same as --sitelibdir etc, except that the base directory name is left as `${datadir}'. The result is suitable to be embedded in Makefiles, for the base directory could be overridden at build time rather than configure time. The default template for Gauche extension packages use these options.
--mandir, --infodir
Directories where gauche manpage and info docs are installed.

Parameters to compile Gauche extention

Extension of the compiled objects (e.g. 'o').
Suffix of the executable (usually empty on Unix variants, and '.exe' on Windows. Note that '.' is a part of suffix in this option, as opposed to other -suffix options.
Extension of the dynamically loadable (dlopen-able) modules (e.g. 'so' or 'dll').
Flags required to compile shared object.
Flags required to link a gauche extension.
Libraries to be linked with a gauche extension.
Suffix for dynamically linked libraries. Some unix variants require special suffix (such as 'dylib'). On other platforms this is the same as '--so-suffix'.
Flags required to link dynamically linked library file. Some unix variants require special flags. On other platforms this is the same as '--so-ldflags'.
Compler flag(s) to embed RPATH in the binary.
The name of shared library of libgauche.


Shiro Kawai (shiro @ acm . org)

See Also

gosh(1), gauche-package(1)

Gauche Scheme script engine:

Referenced By


Explore man page connections for gauche-config(1).

Gauche 0.9.4 Gauche Commands