[gambit-list] Gambit-C v4.0.1

Marc Feeley feeley at iro.umontreal.ca
Wed Sep 12 08:39:08 EDT 2007


Earlier today Gambit-C v4.0.1 was released, in source form and  
prebuilt binaries.  The changelog, which should have been included in  
the announcement, is available here:

Changelog: http://www.iro.umontreal.ca/~gambit/repo/gambit/?shortlog

This release includes a change to the Gambit compiler for  
implementing the continuation-capture, continuation-graft and  
continuation-return procedures (which are explained in this paper  
http://citeseer.ist.psu.edu/cache/papers/cs/23888/ 
http:zSzzSzkaolin.unice.frzSzScheme2001zSzarticlezSzfeeley.pdf/a- 
better-api-for.pdf).

Because of this compiler change, it is tricky to build v4.0.1 using  
v4.0.0.  The best approach is simply to build the system from the  
v4.0.1 sources.  If you insist on building v4.0.1 using v4.0.0 you  
need to follow these steps:

hg pull
hg update -r d0020ceaf919
make bootstrap
hg update -r v4.0.1
make clean
./configure
make

The "hg update -r d0020ceaf919" updates the sources of the Gambit  
compiler so that it is able to compile the runtime system for v4.0.1  
(d0020ceaf919 is the id of the changeset with the description  
"[COMPILER CHANGES NEEDED FOR v4.0.1]...").  The "hg update -r  
v4.0.1" updates the sources to version v4.0.1.  A "make clean" is  
required because all .c files must be regenerated from the .scm files  
using the updated compiler.  The "./configure" is required because  
some of the .in files, in particular include/gambit.h.in, have  
changed and must be processed to generate include/gambit.h etc.

Marc




More information about the Gambit-list mailing list