[gambit-list] Gambit installer

Adrien Pierard pierarda at iro.umontreal.ca
Mon Sep 29 11:29:58 EDT 2008


Hi everyone.

With the new version of Gambit, I decided to take some time to fix the installer
and chose to install gambit in

$prefix/bin/{gsi-$version,gsc-$version}
$prefix/lib/gambit-c/$version
$prefix/doc/gambit-c/$version
$prefix/share/gambit-c/$version
$prefix/info/gambit-c/$version
$prefix/include/gambit-c/$version

(the hardcoded "gambit-c" couls also be a variable, for those who run only one
version of gambit and want to install directly into the $prefix subtree.)

This should hopefully allow those who want to run several versions of gambit at
once to do so (which explains the current behaviour of the installer), and also
avoid clashes with names already taken by other binaires (such as ghostscript).

Yet, there's two issues for which I need your advice:
- Where should I put syntax-case.scm?
- What happens to the shortcut "~~" in file paths?

ideally, "~~" should be expanded by the binaries into the corresponding path
(such as $prefix/lib/gambit-c/$version) where everything needed is found, and
where I plan to put syntax-case.scm

The aim of this "fix" is to make gambit fully portable and configurable on as
many OSs as possible.

So ?


Adrian

-- 
"I am not a Church numeral; I am a free variable!"
(The Scheme Underground)
For every complex problem, there is a solution that is simple, neat, and wrong.



More information about the Gambit-list mailing list