[Ecls-list] ECL and libltdl

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Wed Nov 21 21:59:14 UTC 2012


This is a forwarded message that originally, because of a tar file,
exceeded the limits of the mailing list. I am copying it here for further
reference.

---------- Forwarded message ----------
From: Sylvain Ageneau
Date: Tue, 20 Nov 2012 16:59:53 -0300
Subject: ECL and libltdl
Hello,

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).

GNU libtool includes a small library libltdl which is a kind of platform
independent wrapper for dlopen and also has a fallback mechanism for
platforms that don't allow it:
http://www.gnu.org/software/libtool/manual/html_node/Dlpreopening.html

The attached patch adds optional ltdl support to ECL. I also added a sample
application that shows how to use it.

Regards,
Sylvain

-- 
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/5a3fa8c7/attachment.html>


More information about the ecl-devel mailing list