From: Johannes Beck

Subject: Re: Saving an image in Allegro

Date: 1999-12-10 4:33

Francis Leboutte wrote:
> At 9/12/99 17:20 -0600, Arthur Flatau wrote:
> > ... > > A couple of simple examples might make the documentation on building > > images and delivering applications useful.
> > I agree, this documentation could be largely improved . BTW same thing > for the Common Graphics documentation, especially I really would like > to have guides on CG , I mean books : everything (hum!) is on-line. >
> > ... > > 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? > >
> > Yes. > Here is a function I have used to make a runtime (ACL501 on > Mswindows). Notice if you want to include Common Graphics in the > runtime you can't use excl:generate-application and have to use the > IDE (Build Project command).
No, you can do this too. Eg when definining your application by defsystem and not using the Project Manager (there are good reasons for doing this, eg. you can extend defsystem very easily). If you make a runtime dump with CG included starting in the Allegro IDE, generate-application will be called at some point. Look closely at at the console window where the image is created. This window will show all lisp commands the Build Project command uses to make a image. Copy it, study it and play with it. It works in the end. You may need an empty project file (.lpr, with no files ) if you want to change startup behaviour (I needed this at some point). Btw: It would be nice if ACL's Project Manager could handle defsystem (which is included in Allegro 501) which would such as dumping applications based on defsystem a lot easier. Joe -- Johannes Beck beck at informatik.uni-wuerzburg.de PGP Public Key available by <www-info6.informatik.uni-wuerzburg.de at finger://beck>