GAUCHE-CONFIG(1)
π GAUCHE-CONFIG π
okay bestie, this is the manual page for gauche-config, part of the Gauche Commands squad β¨ (that's the manual name, we're folding it in up top, you're welcome π)
πΈ NAME πΈ
gauche-config β grab the configuration parameters of Gauche, no cap π
β¨ SYNOPSIS β¨
gauche-config option
π¦ DESCRIPTION π¦
So like, gauche-config spills the tea on all the various parameters that got specified when Gauche (the Scheme implementation, yes that one π) was configured at build time. It's literally built to be used inside Makefiles and other configuration scripts that are using Gauche. she's a helper, she's a vibe, she's giving build-system bestie energy π«Ά
π OPTIONS π
β General parameter
-Vβ the current Gauche version. just the version. iconic.
π§ Parameters to compile applications using Gauche
-Iβ the include path options you need to compile programs that use Gauche. (heads up bestie: this doesn't work if the Gauche installation directory path contains whitespaces. go look at--incdirsbelow instead, fr fr.)-Lβ the library path options you need to link programs that use Gauche. (same deal, lowkey: this doesn't work if the Gauche installation directory path has whitespaces in it. see--archdirsbelow.)-lβ the link library options you need to link programs that use Gauche.--ccβ the name of the C compiler that was used to compile this Gauche.--cppβ the command you run to invoke the C preprocessor.--acβ the directory holding the Gauche-specific autoconf macros.--reconfigureβ the command line that was used to configure the current installation.--archβ the autoconf-style architecture signature (cpu-vendor-kernel-os).--incdirs,--archdirsβ the list of directory names to search for include files and libraries respectively. each directory name may be quoted if it contains whitespaces, and they're separated by':'on Unix platforms, or by';'on Windows platforms. pick your fighter π--local-incdir,--local-libdirβ these are the-Iand-Lflags for extra local headers/libraries to search, given by the--with-localconfigure flags. also note: those are also included in-I,-L,--incdirs, and--archdirs. yes she's in all the group chats π
π Parameters to install files
--prefixβ the directory prefix that was set by configure.--sysincdir,--siteincdir,--pkgincdirβ the directories where system|site|package header files of extensions go.--syslibdir,--sitelibdir,--pkglibdirβ the directories where system|site|package scheme files go.--sysarchdir,--sitearchdir,--pkgarchdirβ the directories where system|site|package DSO files go.--mandir,--infodirβ the directories where the gauche manpage and info docs get installed.
π Parameters to help building extensions
--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β extra CFLAGS to create dynamically loadable modules.--so-ldflagsβ extra LDFLAGS to create dynamically loadable modules.--so-libsβ extra libraries required to create dynamically loadable modules.--dylib-suffixβ the extension for dynamically linked libraries (as opposed todlopen()ed ones). usually the same as--so-suffix, but OSX wants'dylib'. picky king π--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. sharing is caring π«Ά--cppflagsβ compiler flag(s) passed to the C preprocessor.--static-libsβ list of library link flags ('-llib') required to link Gauche statically. similar to-l, but this one also includes the libraries used for extension modules, and the static library itself too, that is-lgauche-static-X.X.--libgauche-soβ the base name of the dynamically linked libgauche.
π AUTHORS π
Shiro Kawai (shiro @ acm . org) β thank you for the code king, we are obsessed ππ
π₯ SEE ALSO π₯
gosh(1),gauche-package(1)- Gauche Scheme script engine:
https://practical-scheme.net/gauche/
and that's the whole page bestie, slay π this was Gauche 0.9.15-p2, written down on GAUCHE-CONFIG(1) energy β go forth and configure ur builds, no cap ππ
π¦ where this page comes from
- debian trixie: gauche-dev 0.9.15-p2+20241205-4
- ubuntu questing: gauche-dev 0.9.15-p2+20241205-4
- ubuntu resolute: gauche-dev 0.9.15-p2+20241205-4.1
- ubuntu stonking: gauche-dev 0.9.15-p2+20241205-4.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms