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