<div dir="ltr">Hi Mark,<div><br></div><div><br></div><div>Thanks for your reaction. I have a better idea which always works and works without searching for the entry: let's call the main entry point a constant name: __loader__._</div>
<div><br></div><div style>Actually in my local working copy, I already have done this and it works like a charm even with the renaming scheme ASDF employs. Will commit in a bit. Which probably means we can remove the fallback code (yay! simplicity!)</div>
<div style><br></div><div style>Agreed?</div><div style><br></div><div style><br></div><div style>Bye,</div><div style><br></div><div style>Erik.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 3, 2013 at 11:16 PM, Mark Evenson <span dir="ltr"><<a href="mailto:evenson@panix.com" target="_blank">evenson@panix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 4/3/13 10:39 PM, Erik Huelsmann wrote:<br>
> Hi!<br>
><br>
> As we discussed, I'd write FASL concatenation support for ABCL. I'm<br>
> nearly done, however I'm running into a snag caused by ASDF:<br>
><br>
> Normally, a file "package.lisp" is compiled into a fasl "package.abcl"<br>
> which is basically a zip with at least one entry: "package._". The "._"<br>
> file contains instructions for loading the fasl and may contain<br>
> references to other files in the same zip.<br>
><br>
> My FASL concatenation code currently uses the assumption that the "._"<br>
> file has exactly the same name as the enclosing package. However, FASLs<br>
> generated using ASDF violate that assumption: the ._ file in the fasl<br>
> isn't called "package._" but it's called "package-ASDF_TMP._".<br>
><br>
> How does ABCL know about the suffix when ASDF is loading the FASL<br>
> "package.abcl" with the suffixed file in it in the regular situation?<br>
<br>
</div></div>The code in the java implementation of CL:LOAD, in Load.java:175 ff.<br>
makes an attempt to match a pathname with a wild NAME component if the<br>
fasl has been renamed.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
<br>
"A screaming comes across the sky.  It has happened before, but there is<br>
nothing to compare it to now."<br>
<br>
<br>
<br>
_______________________________________________<br>
armedbear-devel mailing list<br>
<a href="mailto:armedbear-devel@common-lisp.net">armedbear-devel@common-lisp.net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a><br>
</font></span></blockquote></div><br></div>