<div dir="ltr">add -eval '(ext:install-c-compiler)' or similar (clause copied from the ANNOUNCEMENT) before ASDF. You are using the bytecodes compiler by default and this does not allow building object files</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, May 29, 2013 at 3:22 PM, Dietrich Bollmann <span dir="ltr"><<a href="mailto:dietrich@formgames.org" target="_blank">dietrich@formgames.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi Juanjo,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Thank you very much for this example! Nothing is more helpful than some working code to start from!<br>
<div><br></div><div>On my windows installation, however, it still refuses to work:</div><div><br></div><div><div>ecl.exe -norc \</div><div>> -eval '(require :asdf)' \</div><div>> -eval '(push "./" asdf:*central-registry*)' \</div>
<div>> -eval '(asdf:make-build :hello-lisp :type :static-library :move-here "./hello-lisp.lib")' \</div><div>> -eval '(quit)'</div><div>;;; Loading #P"C:/Users/dietrich/home/cs/lang/lisp/ecl/64/git/install/asdf.fas"</div>
<div>An error occurred during initialization:</div><div>In COMPILE-FILE-PATHNAME, the type OBJECT is unsupported..</div><div><br></div><div>Any idea what is going wrong?</div><div><br></div><div>Thanks again,</div><div><br>
</div><div>Dietrich</div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, May 29, 2013 at 6:10 AM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@gmail.com" target="_blank">juanjose.garciaripoll@gmail.com</a>></span> wrote:<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just cooked a trivial example<div> <a href="https://sourceforge.net/p/ecls/ecl/ci/master/tree/examples/embed/" target="_blank">https://sourceforge.net/p/ecls/ecl/ci/master/tree/examples/embed/</a></div>
<div><br></div><div>
The example shows how to build a trivial Common Lisp package, compile it into a statically linked library using ECL and invoke it from a C program with which it is linked.</div><div><br></div><div>It should be trivial to generalize it to using shared libraries and dlopen().</div>
<div><br></div><div>Best,</div><div><br></div><div>Juanjo<span><font color="#888888"><br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br>
<a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a>
</font></span></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a>
</div>