On Sun, May 19, 2013 at 12:40 PM, Dietrich Bollmann
<dietr...@formgames.org>wrote:

>
> In ecl/src/configure I found the option
>
>   --with-dffi             dynamic foreign function interface
>                           (system|included|auto|no, default=AUTO if libffi
>                           available)
>
> But I couldn't find anything similar in the windows ecl/msvc/Makefile.
>
> How do I compile the 64 bit version of ECL under Windows with dynamic
> foreign function support?
>

Currently ECL does not support this in the original sources because FFI has
evolved into a very complicated set of sources that cannot be built with
Microsoft's compilers: it demands mingw and other tools.

This may have changed recently, I do not follow libffi so closely, but, as
I said, the problem is not that ECL cannot be linked against libffi using
Visual Studio, it is just that I do not know how to do this integration
smoothly without further dependencies.

A more reasonable alternative that works on all ports (and is much faster)
would be to compile your code before loading it: it will just work even
without dffi. The FFI is only needed to create the wrappers, but once they
have been compiled they work regardless of the underlying implementation.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to