[Ecls-list] building a static library that depends on CFFI
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at gmail.com
Fri Aug 17 11:13:43 UTC 2012
On Thu, Aug 9, 2012 at 1:31 PM, Simon Ortiz <o.simon at gmail.com> wrote:
> Now, I would like to achieve the same using CFFI instead of FFI. Using
> CFFI I tried several approaches, but I wasn't successful. Basically, I
> compiled the Lisp code into a static library, but the produced library
> seems not to include the C library. I tried to load the library at
> compile time with FFI:LOAD-FOREIGN-LIBRARY, but it doesn't seem to
> have any effect.
ECL has two ways to use a foreign library: one is to link with it, the
other one is to load it dynamically. Could you produce a tiny example of
what you are trying to achieve so that I can test it or improve it?
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel