On Sun, Jul 24, 2011 at 11:00 PM, Mark McCurry <span dir="ltr"><<a href="mailto:mark.d.mccurry@gmail.com">mark.d.mccurry@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;">
Based upon the documentation, I assumed that using the "-h" and "-c"<br>
flags would generate the code such that an external C program could<br>
compile and link to the generated code.<br></blockquote></div><br clear="all">No. The generated files are not for you to use. Lisp files have to be compiled by ECL. If you need to use those files in a C program, then you have to use libraries or binaries produced by ECL, not using your own compiler. There is a lot of black magic going on behind the curtains that is not just calling the compiler.<br>
<br>Embedding of ECL in C programs has been discussed at length here and at the ECL wiki.<br><br>Juanjo<br><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>