problem with gsc and .gambcini
Hi, I'm getting some quirky behaviour with gsc and .gambcini, in which I am initialising the black hole system. [ffi]$ cat server.scm (c-define (add-two n) (int) int "add_two" "extern" (+ 2 n)) [ffi]$ cat ~/.gambcini (load "~~/lib/modules/build") [ffi]$ gsc server.scm *** ERROR IN "/home/aditya/prog/scheme/ffi/server.scm"@1.24 -- Undefined C type identifier Now if I comment out the (load ...) in .gambcini and put a line in server.scm - [ffi]$ cat server.scm (load "~~/lib/modules/build") (c-define (add-two n) (int) int "add_two" "extern" (+ 2 n)) [ffi]$ cat /home/aditya/.gambcini ;(load "~~/lib/modules/build") [ffi]$ gsc server.scm [ffi]$ which works without problems. I am using gambit v4.4.3 Can someone please explain why this happens? -aditya
Afficher les réponses par date
participants (1)
-
Aditya Godbole