[Ecls-list] ECL and libltdl
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Wed Nov 21 22:20:22 UTC 2012
On Wed, Nov 21, 2012 at 10:59 PM, Juan Jose Garcia-Ripoll <
jjgarcia at users.sourceforge.net> wrote:
> I've been struggling with trying to use cffi based libraries with ECL on
> iOS which doesn't allow dlopening dynamic libraries (so ECL has to be
> compiled with --disable-shared).
>
Hmm, is it really that difficult? CFFI is quite an uncomfortable beast to
work with, since it definitely assumes that libraries have to be loaded,
etc, but it could be easily fixed to work with statically linked libraries
by
1) Intercepting the library loading functions
2) Ensuring DFFI is not used.
If you do 1) and 2), then CFFI will work with statically linked
libraries. Would this help you somehow?
Note: I am not rejecting your ltdl patches. I would just need to know
whether they solve problem or whether there are better approaches. It
would also be interesting to have the patch without including ltdl in the
package (only libraries which are needed for Windows's MSVC are included in
ECL).
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20121121/6e84dbd6/attachment.html>
More information about the ecl-devel
mailing list