[Ecls-list] How to call a function in a new core

Peter Van Eynde pvaneynd at mailworks.org
Wed Jan 11 09:24:09 UTC 2006


Hello,

I'm trying to integrate common-lisp-controller support in ecl and so far I can 
create a new core with all the lisp files I need. The only thing I need to do 
now is call a function in this new image. Either on startup or at creation 
time. 

How do I do this? A simple
(c:build-program
   "new-ecl"
   :lisp-files files
   :epilogue-code 
  (lambda ()
      (funcall (intern   
                          (symbol-name :init-common-lisp-controller-v5)
                           (find-package :common-lisp-controller))
                       "ecl")
     (when (probe-file #p"/etc/lisp.config")
           (load #p"/etc/lisp.config"))
    (top-level))

Fails of course ;-)

Groetjes, Peter

-- 
signature -at- pvaneynd.mailworks.org 
http://www.livejournal.com/users/pvaneynd/
"God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson| 




More information about the ecl-devel mailing list