On Thu, Jun 23, 2011 at 3:58 PM, Marko Kocić <span dir="ltr"><<a href="mailto:marko.kocic@gmail.com">marko.kocic@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Why requiring asdf and then cmp fails, while requiring cmp and asdf works?<br>
</blockquote></div><br>This only happens in windows, where the bytecmp module (bytecodes compiler) is loaded by default. The problem is the following one.<br><br>Path 1: bytecmp -> cmp -> asdf<br><br>This works, as CMP redefines COMPILE-FILE-PATHNAME and ASDF may work with the new compiler (which replaces the bytecodes compiler without problems).<br>
<br>Path 2: bytecmp -> asdf -> cmp<br><br>This does not work. ASDF overwrites REQUIRE and relies on COMPILE-FILE-PATHNAME, which tells ECL that the name of a compiled file called CMP has to be cmp.fasc (vs. cmp.fas which is the real name).<br>
<br>I do not see a simple escape out of this, other than creating ficticious *.fasc files for every *.fas file in ECL's library.<br><br>Juanjo<br clear="all"><br>-- <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>