[Ecls-list] Newbie question

Goffioul Michael goffioul at imec.be
Mon Dec 20 01:41:00 UTC 2004


> Well, there are two tricks you can try. One is to garbage collect the 
> library you created. If you confine your functions to a 
> single package 
> and then unbind all of them, that should be enough. If this does not 
> work, please send me a copy of the smallest file for which 
> that does not 
> happen.
> 
> The other possibility is to produce output fasl files with different 
> names. You can get this by supplying yourself a :output-file 
> parameter 
> to the compile-file function:
> 
>  > (compile-file "foo.lsp" :output-file (ext::mkstemp "foo"))
> ;;; Compiling foo.lsp.
> ;;; Compiling (DEFUN F1 ...).
> ;;; End of Pass 1. 
> ;;; Emitting code for F1.
> [...]
> ;;; Finished compiling foo.lsp.
> #P"/home/jlr/src/ecls-new/build/fooeZxAtM.fas"
> Top level.
>  > (load *)
> ;;; Loading "/home/jlr/src/ecls-new/build/fooeZxAtM.fas"
> "/home/jlr/src/ecls-new/build/fooeZxAtM.fas"
> Top level.

Wouldn't it be possible to provide some kind of "reload" mechanism
for binary file loading?

Michael.




More information about the ecl-devel mailing list