[Ecls-list] Link .o or .so to a running ECL program

Pascal J. Bourguignon pjb at informatimago.com
Wed Oct 1 15:23:10 UTC 2014


"José Roberto B. de A. Monteiro"
<jordeam at gmail.com> writes:

> Hello all,
>
> I am wondering if it is possible to link a pure C compiled file, in .o
> or .so (or .dll) formats, into a running Lisp process and how I can do that.

Just like in C, by calling dlopen, etc.

> The case is a am running ECL via Emacs+Slime and it would be very useful
> to link some modules written in C to bind then via uffi or native ffi.

Or rather CFFI.  UFFI is completely obsoleted by CFFI.

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk





More information about the ecl-devel mailing list