[gambit-list] c-struct

Phil Dawes pdawes at users.sf.net
Wed May 23 11:58:24 EDT 2007


Dunno if it helps, but the way I usually do this is to start the 
compiler interactively (preloaded with syntax-case) and use the 
'compile-file' function.

E.g.
gsc -i ~~/syntax-case -
 > (compile-file "~/tmp/c-struct.scm")
#t
 >

Cheers,

Phil


TJ wrote:
> On 5/23/07, Eduardo Cavazos <wayo.cavazos at gmail.com> wrote:
>> Do I stick (include "~~/syntax-case") in "c-struct.scm"?
> 
> IIRC, you have to put (load "~~/syntax-case.scm") in your Gambit
> initialization file. Search the Gambit manual for "gambcini".
> 
>> "c-struct.scm" depends on "srfi-28.scm". So do I (include "srfi-28.scm") as
>> well?
>>
>> Finally, should I put (include "c-struct") in "Xlib.scm"?
> 
> I don't know about this at all.
> 
> TJ
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
> 





More information about the Gambit-list mailing list