gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] metering.lisp


From: Camm Maguire
Subject: Re: [Gcl-devel] metering.lisp
Date: 24 Feb 2003 10:50:17 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  

1) GCL now follows the ansi behavior of reporting an error when
   calling (in-package before (make-package.  In CLtL1, (in-package
   would make the package if necessary.  So I would recommend doing a
   (make-package, (or loading metering.lisp), loading the binary,
   doing a few (gbc t) calls, and (si::save-system "whatever").  It
   would be nice to get the package making statement in the .o file,
   but I don't know how to do it off the top of my head.

2) What is consing information?

Take care,

Martin RUBEY <address@hidden> writes:

> Hi!
> 
> I ran across 
> 
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/clocc/clocc/src/tools/metering/
> 
> some days ago and I think its great. It works NEARLY out of the box, I
> only had to
> 
> diff -c1 metering.lisp metering.lisp.orig
> *** metering.lisp       Sun Feb 23 19:10:23 2003
> --- metering.lisp.orig  Sun Feb 23 23:20:44 2003
> ***************
> *** 386,390 ****
>   #-(or cltl2 ansi-cl)
> ! (eval-when (compile load eval)
> !   (defpackage "MONITOR" (:nicknames "MON"))
> !   (in-package "MONITOR" :nicknames '("MON")))
> 
> --- 386,388 ----
>   #-(or cltl2 ansi-cl)
> ! (in-package "MONITOR" :nicknames '("MON"))
> 
> (note that I do not understand package stuff)
> 
> Well after having it compiled, I still have to do
> (load "metering.lisp")
> (load "metering.o")
> 
> because otherwise:
> 
> *GCL (GNU Common Lisp)  Version(2.5.0) Sun Nov 17 15:58:09 CET 2002
> Licensed under GNU Library General Public License
> Contains Enhancements by W. Schelter
> 
> >(load "metering.o")
> 
> Loading metering.o
> 
> Correctable error: A package error occurred on "MONITOR": "No such 
> package".
> Signalled by IN-PACKAGE.
> If continued:
> Broken at IN-PACKAGE.  Type :H for Help.
> >>
> 
> ???
> 
> BTW: would it possible to have consing information displayed with gcl?
> 
> Thank you, Martin
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]