A compiled *.o file of the following simple test file will not load into
a freshly started GCL (Error in EVAL [or a callee]: The package named
MY-PKG, does not exist):
;;; --------------------------
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (find-package :my-pkg)
(defpackage :my-pkg
(:use :common-lisp))))
(in-package :my-pkg)
(defun foo () nil)
;;; --------------------------
The third form in the file is required to trigger the premature package
lookup error. Again, apologies if this is a well-known GCL issue...
-- Dan
-- Dan
_______________________________________________
Gcl-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gcl-devel