[Ecls-list] c:build-program and CFFI

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue May 18 12:16:20 UTC 2010


If your software depends on libraries using ASDF then create a system
definition for it and use ASDF:MAKE-BUILD
http://ecls.sourceforge.net/new-manual/ch16.html

On Tue, May 18, 2010 at 4:09 AM, Jeronimo Pellegrini <jpn at aleph0.info>wrote:

>
> I recently tried to build a standalone executable that uses
> CFFI, but it seems that I couldn't get CFFI to be included
> in the executable:
>
> (require 'cffi)
> (compile-file "show.lisp" :c-file "show.c" :system-p t)
> (c:build-program "show" :lisp-files '("show.o"))
>
> show.lisp contains:
>
> +----
> (eval-when (:compile-toplevel :load-toplevel :execute)
>  (asdf:oos 'asdf:load-op :cffi))
> +----
>
> and also uses CFFI.




-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100518/6d6b169a/attachment.html>


More information about the ecl-devel mailing list