[Ecls-list] calling ECL functions defined in an ASDF package from C code

Eric Schulte schulte.eric at gmail.com
Wed Jul 13 20:21:13 UTC 2011

A heavy weight workaround (which is actually preferable in my case given
the non-lispyness of my co-workers) is to copy all required *.lisp files
into the directory of your lisp project, and then compile a shared
library using a sequence like that in the attached build file.

This is certainly not elegant, but it does remove any dependency on ASDF

Best -- Eric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecl-build.lisp
Type: application/octet-stream
Size: 1753 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110713/7da9b214/attachment.obj>
-------------- next part --------------

Ph. Marek <philipp at marek.priv.at> writes:

>> However the current solution loads required libraries (e.g., alexandria)
>> at runtime and depends on a local instillation of quicklisp.  Would it
>> be possible to compiling all dependencies into a single linked library
>> with no external runtime dependencies using `c:build-shared-library'?
>> Something like a ":monolithic t" option?
> I'd be interested in that as well.
> I didn't test it yet, but possibly giving all necessary .o files in
> ~/.cache/common-lisp/... to the build function might work?
> The (ql:quickload) lines would have to be (eval-when (:compile)), I imagine.
> Regards,
> Phil
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list

Eric Schulte

More information about the ecl-devel mailing list