Re: compiling a Lisp source to exe



On 30 Set, 14:14, cartercc <carte...@xxxxxxxxx> wrote:
On Sep 29, 3:28 pm, Rainer Joswig <jos...@xxxxxxx> wrote:

Well as I said, read the fine manuals.

As always very good advice, and as often happens, not done until
someone says RTFM. Okay, I did (and as a matter of fact had previously
printed the CMUCL manual).

I spent more than an hour last night trying to make it work, learned a
few things, but was unable to accomplish the task I set out. I just
need to get more familiar with these tools. I'm satisfied that this
can be done, and maybe in six months or so I will focus and getting it
done.



For CLISP for example:

 http://clisp.cons.org/impnotes/image.html

  see the :executable option to the function
  EXT:SAVEINITMEM .

CMUCL:

 http://common-lisp.net/project/cmucl/doc/cmu-user/extensions.html#toc47

  See the :executable option to the function extensions:save-lisp .

My three competencies are Perl, Java, and C++. In the case of Perl,
all the machines I am responsible for have Perl. Ditto Java for the
JRE. As to C++, the compilers generate exe files directly.

I would like to achieve some competency in Lisp but Lisps do not
typically get installed on machines and do not have a 'LRE' (or do
they?) Therefore, the only easy way I can think of to run a script
written in Lisp is to compile and distribute it as an exe.

Thanks for your help, CC.

Most Linux distribution come with Clisp and ECL either installed by
default or available through the package manager.
You can download and install them on Windows too.
.



Relevant Pages

  • Re: compiling a Lisp source to exe
    ... My three competencies are Perl, Java, and C++. ... all the machines I am responsible for have Perl. ... the compilers generate exe files directly. ... I would like to achieve some competency in Lisp but Lisps do not ...
    (comp.lang.lisp)
  • Re: Help installing DBI on Solarix 10 X64
    ... You will either have to build your own perl with gcc or get the Sun cc compilers installed. ... The only other option is the completely hand edit the makefile to replace all CC flags with gcc flags and options. ... My sugestion is to download and build your own perl distro using gcc so that you dont' have to go hand editing every makefiles for modules you need to install. ...
    (perl.dbi.users)
  • Re: package install trouble
    ... I have already installed gcc. ... module to the perl supplied with Solaris. ... use the same compilers to add things to itself. ... IIWY I'd build and install your own perl using gcc, ...
    (comp.lang.perl.misc)
  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)