[Openmcl-devel] create an executable from openmcl

Christophe Rhodes csr21 at cam.ac.uk
Sat Apr 19 03:26:09 PDT 2003


Gary Byers <gb at clozure.com> writes:

> Suppose that we had a little shell script (not unlike the following)
> that would prepend an arbitrary file on the front of something that
> was presumed to be an openmcl heap image (observing alignment constraints)
> and saved the result to a third file.  (We can also stretch our imaginations
> a bit and ignore the fact that this looks suspiciously like something that
> was hastily cobbled together ...)

:-) In a somewhat similar vein, sbcl offers a utility that allows one
to make a fasl file "executable", again by prepending some shell
script magic to the fasl, and ignoring the fact that it looks like
something that was hastily cobbled together.  This can be moderately
useful because loading the concatenation of several fasl files is
equivalent to loading the individual ones in sequence.

<http://ww.telent.net/diary/2003/2/#21.68739> and
sbcl/contrib/sb-executable/ in SBCL's cvs, if anyone's interested.

Cheers,

Christophe
-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)

_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel



More information about the Openmcl-devel mailing list