[gambit-list] Trouble building gambit
Marc Feeley
feeley at iro.umontreal.ca
Sun May 14 03:22:28 EDT 2017
Yes, to get the central installation directory you can use
% gsi -e '(println (path-expand "~~"))'
/Library/Gambit/v4.8.8/
If you want the directory where executables are installed use
% gsi -e '(println (path-expand "~~bin"))'
/Library/Gambit/v4.8.8/bin/
Note that this is not necessarily the central installation directory with bin/ appended to it because you can configure Gambit to install executables, libraries, documentation, etc in specific directories. From INSTALL.txt:
If the --prefix option is not used, the default is to install all
files in /usr/local/Gambit and its subdirectories, namely "bin",
"lib", "include", etc. The files that would normally go in these
subdirectories can be redirected to other directories using
the following configure options:
--bindir=DIR executables (gsi, gsc, ...)
--libdir=DIR libraries (libgambit.a, syntax-case.scm, ...)
--includedir=DIR C header files (gambit.h, ...)
--docdir=DIR documentation (gambit.pdf, gambit.html, ...)
--infodir=DIR info documentation (gambit.info, ...)
--datadir=DIR read-only architecture-independent data (gambit.el)
Marc
> On May 14, 2017, at 2:43 AM, Faré <fahree at gmail.com> wrote:
>
> On Sun, May 14, 2017 at 1:42 AM, Faré <fahree at gmail.com> wrote:
>> Also, is there a way from a gsi in the $PATH to extract the
>> installation path of gambit? Say with a suitable -e argument.
>>
> For that, from the manual I get
> gsi -e '(display (path-expand "~~")) (newline)'
>
> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
> Does anybody else find irony in the fact that Bill Gates says he's trying
> to write a stable OS, and Linus claims he's trying to take over the world?
More information about the Gambit-list
mailing list