<div class="gmail_extra">On Mon, Nov 5, 2012 at 12:57 PM, Mark Cox <span dir="ltr"><<a href="mailto:markcox80@gmail.com" target="_blank">markcox80@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I am not sure if Juan reads this list. He may have a better idea on how to achieve this approach.</blockquote></div><br>I am afraid I do not know what grovel is doing, but all what you mentioned in your email is correct. ECL needs both files because that is the only correct way to build a shared library out of an ASDF definition. In the past we only kept the FASL and threw away the object file, which implied a second recompilation for every new operation and this led to unwanted changes in the order of ASDF -- the resulting libraries were not identical to the process of loading a clean and fresh ASDF library.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">What I do not understand is why cffi-grovel is dealing with the output of a compile-op operation. I would have implemented <a href="http://common-lisp.net/project/cffi/manual/html_node/Groveller-ASDF-Integration.html#Groveller-ASDF-Integration">http://common-lisp.net/project/cffi/manual/html_node/Groveller-ASDF-Integration.html#Groveller-ASDF-Integration</a> using the following ASDF dependency rule (method on depends-on or something like that)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">load-op grovel-file -> grovel-op grovel-file & load-op resulting-lisp-file</div><div class="gmail_extra">compile-op grovel-file -> grovel-op grovel-file & compile-op resulting-lisp-file</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">This parallel rule would ensure that the intermediate lisp is always generated (via grovel-op) and the grovel-file does not have to deal with compilation itself, which is delegated to the load/compile-op on the resulting file.</div>
<div class="gmail_extra"><div><br></div><div>Juanjo</div><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><br>
</div>