On Wed, Feb 23, 2011 at 3:50 AM, <aa...@pageofswords.net> wrote:

> >From the command line, I can call ecl with the -dir directive to set the
> "root" directory for the ecl install as follows:


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.

See http://ecls.sourceforge.net/new-manual/ch17.html

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).

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to