[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLISP Compiler



Steven A. Morris <MORRIS1@DUCVAX.AUBURN.EDU> asks:

> I'm using CLISP on an IBM-compatible 386 computer using MSDOS.
> Is there a way to compile my programs into an executable format (.exe or
> .com)?

No. The CLISP compiler doesn't produce machine code.

You can use the (undocumented) SAVEMEM function to dump memory images
that can be given as argument to the -M option of clisp. For example:

  clisp
  > (load "rubik.fas")
  > (savemem "rubik.mem")
  > (exit)

Then call

  clisp -M rubik.mem


                    Bruno Haible
                    haible@ma2s2.mathematik.uni-karlsruhe.de