[gambit-list] Re: Help with FFI related error message

Bradley Lucier lucier at math.purdue.edu
Sun Apr 10 22:18:22 EDT 2005


Marc:

Shut down one of gambit4-beta or gambit-list, I'm getting tired of 
getting two copies of all these messages.

Brad

On Apr 10, 2005, at 9:14 PM, Marc Feeley wrote:

>> Ah OK.  Then you need to do this when you generate the .c files:
>>
>>     gsc -c -o glut-ffi.o1.c glut-ffi.scm
>>     gsc glut-ffi.o1.c
>>
>> This will generate the files glut-ffi.o1.c and glut-ffi.o1_.c which
>> you can then compile as before.
>
> Scratch that... since you are generating an object file, all you need 
> is
>
>      gsc -c -o glut-ffi.o1.c glut-ffi.scm
>      $(CC) -shared -D___DYNAMIC -I/usr/include/GL -I $(GAMBINC) -o 
> glut-ffi.o1 glut-ffi.o1.c conv.o -L/usr/X11R6/lib/ -lgl
>
> Marc
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> http://mailman.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list