[gambit-list] Take 2 : __cleanup() problem (OS X 10.6.6 / Gambit-C 4.6.0)

Marc Feeley feeley at iro.umontreal.ca
Sat Jan 15 11:59:33 EST 2011


On 2011-01-13, at 11:38 PM, David Dreisigmeyer wrote:

> I tried using the shared library created from the modified test8
> example, except I only called the functions from a C routine.  That
> is, I didn't use Cython/Python.  It looks like I'm getting the same
> problem here as when I tried using the shared library in Python:
> 
> 
> $ ./gambit_tester
> setup done
> Gambit-C : (+ 1 2)
> 3
> Gambit-C result :  3
> 
> 
> There should also be a "cleanup done" printed out after the call to
> ___cleanup (), but it doesn't seem to finish that routine.
> 
> The code is attached.  Do:
> 
> $ make tester
> $ ./gambit_tester
> 
> 
> Thanks again.
> 
> -Dave

This is what I get on Mac OS X, after making the corrections to os_io.c and os_tty.c that I suggested in previous messages:

$ ./gambit_tester
setup done
Gambit-C : (+ 1 2)
3
Gambit-C result :  3
cleanup done

Marc




More information about the Gambit-list mailing list