How to create a standalone executable using ECL



Blair Sutton wrote:
> ECL is not like other Lisp interpreters. It cannot dump images. There
> is a specific build process that must be created in Maxima's
> configure.sh script. Hence the reason I am asking on this list. The
> ECL developers know very little about Maxima's build process. It looks
> like I will have to somehow reverse engineer configure.sh by hand -
> it's a shame no one knows who wrote the ECL specific parts in Maxima's
> configure.sh or how they work.
>   
I wrote part of them, after reverse engineering how ecl dumps images.

Look in src/maxima.system.  The basic build process is to load defsystem
(the one from ecl is ok), load maxima.system, and run mk:oos to build
everything.  Then build-maxima-lib dumps out the executable.  I see
there are conditionals for msvc and cygwin.  I think I just stole that
from ecl somewhere; I've never actually tested that myself. 

Perhaps you can look there to see how to create the executable.

If you figure it out let us know and I'll update build-maxima-lib.

Ray