[gambit-list] Sound Manipulation

Marc Feeley feeley at iro.umontreal.ca
Fri Mar 25 11:24:22 EDT 2011


On 2011-03-25, at 10:44 AM, Maxime Chevalier-Boisvert wrote:

> I kind of want to roll my own, it's part of the fun, hence the question 
> about the FFI.
> 
> A further question I have about the FFI is whether it's easy or not to 
> use externally linked C functions while in the shell. Do you have to 
> recompile the shell itself to do that?

No.  You just recompile the Scheme file containing the FFI interface (and link it to the C libs it needs).  This produces a "dynamically loadable object file" such as "mystuff.o1".  Then, at the REPL, you just (load "mystuff").

Marc




More information about the Gambit-list mailing list