From: Haris Bogdanovi� on
Hi.

I'm trying to build a lisp image in allegro cl with:

(progn
(build-lisp-image "alisp.dxl" :case-mode :case-insensitive-upper
:include-ide nil :restart-app-function nil)
(sys:copy-file "sys:allegro-ansi.exe" "sys:alisp.exe"))

but it complains about packages.
How can I make a packege to include all the packages from acl beeause
I don't know which packages will it need ?
I'm trying to build this image for use with emacs.

Thanks


From: Pascal J. Bourguignon on
"Haris Bogdanovi�" <fbogdanovic(a)xnet.hr> writes:

> Hi.
>
> I'm trying to build a lisp image in allegro cl with:
>
> (progn
> (build-lisp-image "alisp.dxl" :case-mode :case-insensitive-upper
> :include-ide nil :restart-app-function nil)
> (sys:copy-file "sys:allegro-ansi.exe" "sys:alisp.exe"))
>
> but it complains about packages.
> How can I make a packege to include all the packages from acl beeause
> I don't know which packages will it need ?

This wouldn't prevent lisp to complain about package errors.

What error do you get?

--
__Pascal Bourguignon__
http://www.informatimago.com
From: Pascal J. Bourguignon on
"Haris Bogdanovi�" <fbogdanovic(a)xnet.hr> writes:
> How can I make a packege to include all the packages from acl beeause
> I don't know which packages will it need ?

Assuming that by "include" you mean "use", just write it!

> ... ... . make - packege .. [use] [list] - all - packages

(make-package :your-package :use (copy-list (list-all-packages)))



Since list-all-packages returns an internal data structure, I prefer
to copy it when I pass it to a function I don't know that it won't
modify it...

--
__Pascal Bourguignon__
http://www.informatimago.com