ECL port

From Maxima CAS Wiki

Jump to: navigation, search

The ECL-specific stuff is on the branch patches-for-ecl-branch in Maxima CVS.

I think this incantation or something like it should fetch the branch.

cvs -d :pserver:anonymous@maxima.cvs.sourceforge.net:/cvsroot/maxima get -rpatches-for-ecl-branch maxima

You’ll need to build ECL from current CVS (the 0.9j release won’t work).

The --enable-smallcons flag for configure is recommended (by the ECL maintainer) and --enable-unicode is discouraged.

Following the instructions in INSTALL.lisp (in the top-level maxima directory) up to and including step 4. Then cd src, launch ECL, and run Maxima via ASDF (”a system definition facility”, which is something like ”make”). You can run Maxima in ECL either (1) interpreted, or (2) compiled.

(1) Interpreted. Call ASDF:OPERATE with ASDF:LOAD-SOURCE-OP. At present (2008-06-15) interpreted Maxima + ECL runs its test suite without unexpected errors. Terrific! However, it is relatively slow.

(require ''asdf)
(asdf:operate ''asdf:load-source-op :maxima)
(cl-user::run)

(2) Compiled. Call ASDF:OPERATE with ASDF:LOAD-OP. At present (2008-06-15) compiled Maxima + ECL runs its test suite with many errors. At least known problem is that factor always returns 0. That breaks a lot of things.

(require ''asdf)
(asdf:operate ''asdf:load-op :maxima)
(cl-user::run)

— Robert Dodier