GAUCHE-CONFIG(1)

πŸ“¦
version 0.9.15-p2+20241205 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 --incdirs below 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 --archdirs below.)
  • -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 -I and -L flags for extra local headers/libraries to search, given by the --with-local configure 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 to dlopen()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 πŸ”₯


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