[gambit-list] gambit doesn't disable reading of gambcext while running tests

Marc Feeley feeley at iro.umontreal.ca
Fri May 11 09:13:02 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 11-May-07, at 8:19 AM, Marijn Schouten (hkBst) wrote:

> It seems that gambit doesn't disable reading of gambcext while  
> running tests.
> My gambcext does (load "~~/syntax-case"). Without gambcext tests  
> run fine, but
> when syntax-case is loaded, the following happens:

There are two files that can be used to extend Gambit:

   ~~/gambcext.scm    the site-wide extension file
   gambcini.scm       the user or directory specific initialization file

The file ~~/gambcext.scm is where permanent extensions (and patches)  
to the runtime system are to be put.  By design the interpreter  
cannot avoid loading this file.

To solve the problem you are having just put the (load "~~/syntax- 
case") in the file gambcini.scm (in your $HOME or in your work  
directory).  The "-f" option to gsi will avoid loading gambcini.scm .

Marc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGRGve//V9Zc2T/v4RApyqAKCFq/d7KdOn37I0pcWuB+BEcZGW5wCeM6m2
e/2ZwA82leqVWZaiMCqkytg=
=seZG
-----END PGP SIGNATURE-----



More information about the Gambit-list mailing list