From: Arthur Flatau

Subject: Saving an image in Allegro

Date: 1999-12-9 18:21

I have been trying to save an image of our system in Allegro 5.0.1
with little success.  I have looked at the documentation, but that
seems to largely be written to ensure that you know that there are
different licenses required for different products (e.g. composer,
runtime) and to make sure you know you can not distribute certain
parts of Lisp rather then enlighten a user on how to use these
functions.  A call to Franz technical support got me someone even more
clueless then I.

We have a system defined with DEFSYSTEM.  Locally (i.e. in our site in
Austin) we build an image, used by the developers and also some users.
In addition, the system is used at our California site and we do have
a runtime license.  So I need to build two images, a development image
for local use and a runtime image for use in California.  The system
consists of a defsys.cl file containing a couple of package
definitions and the DEFSYSTEM forms and then about a dozen lisp files.

A couple of simple examples might make the documentation on building
images and delivering applications useful.

Questions:

1. To build a local development copy I think I should be able to load
the system and then do something like:
(excl:build-lisp-image "my_system")

This does not work, a process is spawned off which does some things
and then says:

Error (from DEBUG): attempt to call `DEFSYSTEM' which is an undefined function.

(This was shortly after loading the file with the defsystem in it).

A image is dumped, but nothing works in it (except my packages are
defined).

2. It seems that I should use GENERATE-APPLICATION to build an "image"
(or something, not sure what it is called) that I can distribute to
the other site.  When I do this, I do get 3 files dumped, my_system,
my_system.fasl and a libxxxx.so file.  I gather these are supposed to
be all the files that I need to transfer to our other site to run
there, is that correct?

3. What is the deal with autoloaded functions?  Am I supposed to
include all the modules specified in the autoload.out file when I do a
generate-application?  If so, how?

4. Am I missing something, or is there in fact no way to specify a
system or systems (defined with DEFSYSTEM) to generate-application,
but I have to manually specify the files?  

Thats all for now, although I am sure I will have more questions, if I
can figure these out.  Thanks for any direction.

Art

-- 
Arthur Flatau                           Texas Microprocessor Division
<amd.com at Arthur.Flatau>                   Advanced Micro Devices
                                        5900 East Ben White Boulevard
                                        M/S 625 Austin TX 78741