From: Michael Pujos
Subject: [CMUCL]: merging multiple .x86f into one
Date: 
Message-ID: <va966t2vyzu.fsf@roberto.emi.u-bordeaux.fr>
Subject says it all, I already know the cmucl specific function
save-lisp but it'll save all the core lisp and I just want to save
let's say what is in the user package....
Is there a way to do that ? (eventually with defsystem)

-- 
Il fait bo
From: Daniel Barlow
Subject: Re: [CMUCL]: merging multiple .x86f into one
Date: 
Message-ID: <874s8klw4e.fsf@tninkpad.telent.net>
Michael Pujos <·····@emi.u-bordeaux.fr> writes:

> Subject says it all, I already know the cmucl specific function
> save-lisp but it'll save all the core lisp and I just want to save
> let's say what is in the user package....
> Is there a way to do that ? (eventually with defsystem)

Just stick them together with cat(1).  There was some talk about this
here recently, I think.

Note that the order of the files is important - you need the combined
file to have the components in the same order as you'd have to load
them individually.  If you're using defsystem, you can automate this
by defining a new system operation.  This is what I did for :sockets
(cmucl/sbcl BSD socket api glue which exports rather more of the
socket api than the existing cmucl stuff).

Try http://loaclhost.telent.net/cgi-bin/cvsweb/telent/sockets/

- agglomerate-system.lisp is the file you're interested in
- Makefile shows how it's used
- sockets.system is the system definiton: may be useful if you've not
  used defsystem before

Look at http://ww.telent.net/lisp/sockets.html if for some bizarre
reason you're interested in the system it's a part of.

-dan