<div class="gmail_quote">On Wed, Feb 23, 2011 at 3:50 AM, <span dir="ltr"><<a href="mailto:aaron@pageofswords.net">aaron@pageofswords.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
>From the command line, I can call ecl with the -dir directive to set the<br>
"root" directory for the ecl install as follows:</blockquote><div><br></div><div>This directive and many others are not part of the Common Lisp library. It is the default command line parser (see cmdline.lsp in src/lsp) that processes it. Embedded ECL will not attempt to parse command line arguments -- that is your program's job --. The argc argv arguments to cl_boot are just used to save those values in functions/variables that can be used by cmdline.lsp, or any other command line processing library you wish to use.</div>
<div><br></div><div>See <a href="http://ecls.sourceforge.net/new-manual/ch17.html">http://ecls.sourceforge.net/new-manual/ch17.html</a></div><div><br></div><div>To change ECL's directory you can copy the code from cmdline.lsp or set the environment variable ECLDIR from your "main" routine (setenv/putenv).</div>
<div><br></div><div>Juanjo</div><div> </div></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>