gauche-config - retrieve configuration parameters of Gauche
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.
- -V
- The current Gauche version.
- -I
- Include path options required to compile programs using Gauche (Note: This
doesn't work if Gauche installation directory path contains whitespaces.
See --incdirs below.)
- -L
- Library path options required to link programs using Gauche (Note: This
doesn't work if Gauche installation directory path contains whitespaces.
See --archdirs below.)
- -l
- Link library options required to link programs using Gauche.
- --cc
- The name of the C compiler used to compile this Gauche.
- --cpp
- The command to run the C preprocessor.
- --ac
- The directory that contains Gauche-specific autoconf macros.
- --reconfigure
- The command line used to configure the current installation.
- --arch
- The autoconf-style architecture signature (cpu-vendor-kernel-os).
- --incdirs,
--archdirs
- 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.
- --local-incdir,
--local-libdir
- 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'.
- --object-suffix
- The extension of the compiled objects (e.g. 'o' or 'obj').
- --executable-suffix
- The extension of the executable including a period (empty on Unix
systems,
- --so-suffix
- The extension for dynamically loadable (dlopen-able) modules (e.g.
'so').
- --so-cflags
- Additional CFLAGS to create dynamically loadable modules.
- --so-ldflags
- Additional LDFLAGS to create dynamically loadable modules.
- --so-libs
- Additional libraries required to create dynamically loadable modules.
- --dylib-suffix
- The extension for dynamically linked libraries (as opposed to dlopen()ed)
Usually the same as --so-suffix, but OSX wants 'dylib'.
- --dylib-ldflags
- LDFLAGS to create dynamically linked libraries.
- --rpath-flag
- Compiler flag(s) to embed RPATH
- --default-cflags
- This is the CFLAGS used to compile Gauche, and to be used to compile
extensions as well.
- --cppflags
- Compiler flag(s) passed to C preprocessor
- --static-libs
- 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.
- --libgauche-so
- The base name of dynamically linked libgauche.
Shiro Kawai (shiro @ acm . org)
gosh(1), gauche-package(1)
Gauche Scheme script engine:
https://practical-scheme.net/gauche/