Hi Juanjo,

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

I tried to do so - but for some reason I never get it work...

A very simple HOWTO explaining step by step how to compile and load a
simple example file ( for instance the sin / cos example in
examples/ffi/cffi.lsp ) would be most helpful!

I tried all kind of permutations of (compile-file ...) with different
parameters, together and without (require :cmp), etc. but I seem to be
unable to make sense out of the documentation and error messages and always
fail to get a working example...

I am currently trying to understand the msvc build files of ECL - but would
be very grateful about a faster solution...

Anyway, thank you very much for your fast and detailed answer!  Your
one-man support is quite impressive - actually much more than the
"professional" (and commercial) support of most companies!

Dietrich



On Mon, May 20, 2013 at 5:47 AM, Juan Jose Garcia-Ripoll <
juanjose.garciarip...@gmail.com> wrote:

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