Re: compiling a Lisp source to exe



On 29 Set, 20:31, cartercc <carte...@xxxxxxxxx> wrote:
Is it possible to compile a Lisp source file to an exe on an x86
machine running Windows?

Using gcc (on Windows) like this: [>gcc -o hello.exe hello.c] will
produce a file that I can run natively. Is it possible to do this same
with a Lisp file?

When I run compile-file I don't get anything I can copy to another
machine (with a Lisp) and run.

Which Lisp language are you using?
If it's Scheme then many implementations allow you to compile to
standalone executables, usually via intermediate C files.
.



Relevant Pages

  • Re: "Recompile" VS delete all fasl and load + compile
    ... I am a newbie to Lisp. ... need to recompile all the lisp files in order to run it. ... I tried "compile-file", but there are nested multiple files that I ... Defsystem is not part of the standard, but most Lisp implementations offer their own version defsystem tool, and there are also a few open source ones (e.g. ...
    (comp.lang.lisp)
  • Re: best environment for learning Lisp?
    ...     T ... It is also good to read the manual of the Lisp implementation ... But this is really covered in the manuals, ... 'Practical Common Lisp' mentions load and compile-file in chapter 2 in the section 'Saving Your Work': ...
    (comp.lang.lisp)
  • Re: compiling a Lisp source to exe
    ... When I run compile-file I don't get anything I can copy to another ... machine (with a Lisp) and run. ... Programs like Photoshop or 3D Studio Max still make sense to run ...
    (comp.lang.lisp)
  • Re: compiling a Lisp source to exe
    ... It depends on the Lisp implementation. ... Which Lisp implementation are you using? ... When you use COMPILE-FILE, you get a piece of compiled Lisp code. ...
    (comp.lang.lisp)
  • Re: Structure of a lisp system.
    ... Emacs is a suitable editor for Lisp. ... Check out COMPILE-FILE in the CLHS. ... sort of functionality you'd get from the C or C++ standard libraries. ...
    (comp.lang.lisp)