On Wed, May 22, 2013 at 6:54 AM, Dietrich Bollmann
<dietr...@formgames.org>wrote:
> On Tue, May 21, 2013 at 6:13 PM, Juan Jose Garcia-Ripoll <
> juanjose.garciarip...@gmail.com> wrote:
>
>>
>> The CFFI model is simply too rigid: they assume that libraries can be
>> loaded at run time, always. Instead ECL supports also a model in which
>> libraries are linked with the compiled code, being available that way. I
>> fear there is no way to work around this but using ECL's own FFI mingled
>> with CFFI
>>
>> > (ql:quickload :cffi)
>> > (compile-file "foo.lsp" :load t)
>>
>
> Here what I get when trying this on windows:
>
>
Your problem was the way you load quicklisp: you did it using the
interpreter. If you use the C compiler, this has to be done all the way
through, from the very beginning, as follows
(require :cmp)
(load "~/quicklisp/setup.lisp")
(ql:quickload :cffi)
(compile-file "foo.lsp")
So, I insist: it is possible to build and compile object files on Windows
using the FFI. You simply have to deactivate the bytecodes compiler before
doing anything.
--
Instituto de FĂsica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list