<div class="gmail_quote">On Fri, Jan 15, 2010 at 10:19 PM, Andy Hefner <span dir="ltr"><<a href="mailto:ahefner@gmail.com">ahefner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Sat, Jan 16, 2010 at 4:07 AM, Juan Jose Garcia-Ripoll<br>
<div class="im"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>> wrote:<br>
<br>
</div><div class="im">> Why don't you add a first file to your compiled program that _only_ contains<br>
> (require 'cmp) ? The C package would then be available for the subsequent<br>
> compiled files and you will be able to use symbols by their names.<br>
> Juanjo<br>
<br>
</div>That does work, somewhat to my surprise.</blockquote><div><br></div><div>Why would it be surprising? A compiled program is a set of binary files, one binary file per source. Each binary file does the same things that the source did: defining packages, functions, classes, all in the same order. Hence if you add a source that only does require CMP, then the following binaries will have, when executed, all the packages, classes and functions defined by the compiler.</div>
</div><div><br></div>Juanjo<div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>