[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Re: system, load-time-value
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] Re: system, load-time-value |
Date: |
17 Feb 2004 11:50:30 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and thanks for your efforts here! Your work around will
indeed suffice, unpleasant as it may be. I also do not understand why
load-time-value is needed -- when could compile-file-pathname
conceivably vary at load and compile times?
Please keep us posted with the results of your tests.
Take care,
Debian User <address@hidden> writes:
> > > When I tried to load common-lisp-controller.lisp,
> > > I found out that LOAD-TIME-VALUE doesn't work in the
> >
> > Yes, I have a near-complete implementation based on
> > ADDRESS and NANI as yet uncommitted pending our release
> > of the stable branch as 2.6.2. We need this to fix a
> > literal object copying ansi error in 'compile.
> >
> > Great! It'll be needed for common-lisp-controller to work.
> >
>
> So this is required for this functionality?
>
> Apparantly! I looked at the one place it is used, but could
> not figure out why it is needed.
>
> (defun load-time-value (obj) obj)
> (load "common-lisp-controller.lisp") ; or ~.o instead of ~.lisp
>
> from top-level seems to work both from source code and compiled
> code. Of course that is just a plain ugly hack :-) With some
> fboundp checking in the top-level is should be enough...
>
> $ apt-get install common-lisp-controller # if you haven't already...
> $ grep -C 2 load-time-value
> /usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp
>
> (defvar *fasl-type*
> (load-time-value
> (pathname-type
> (compile-file-pathname "foo.lisp")))
>
> Obviously it has to do with compile-file-pathname, but I still
> don't see the cause behind it.
>
> I may have some time the forthcoming weekend to implement and
> test it.
>
> Yours,
>
> Dennis Decker Jensen
>
>
>
> _______________________________________________
> 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
- [Gcl-devel] system, load-time-value, Debian User, 2004/02/06
- [Gcl-devel] Re: system, load-time-value, Camm Maguire, 2004/02/11
- [Gcl-devel] Re: system, load-time-value, Debian User, 2004/02/13
- [Gcl-devel] Re: system, load-time-value, Camm Maguire, 2004/02/13
- RE: [Gcl-devel] Re: system, load-time-value, Mike Thomas, 2004/02/16
- [Gcl-devel] packages & exported symbols (was: system, load-time-value), Debian User, 2004/02/16
- Re: [Gcl-devel] packages & exported symbols (was: system, load-time-value), Camm Maguire, 2004/02/16
- Re: [Gcl-devel] Re: system, load-time-value, Camm Maguire, 2004/02/16
- [Gcl-devel] Re: system, load-time-value, Debian User, 2004/02/17
- Re: [Gcl-devel] Re: system, load-time-value,
Camm Maguire <=
- Re: [Gcl-devel] Re: system, load-time-value, Michael Koehne, 2004/02/17
- Re: [Gcl-devel] Re: system, load-time-value, Dennis Decker Jensen, 2004/02/17
- Re: [Gcl-devel] Re: system, load-time-value, Michael Koehne, 2004/02/17
[Gcl-devel] SGC and file I/O, Camm Maguire, 2004/02/11
[Gcl-devel] Runtime SGC fault address recovery tests, Camm Maguire, 2004/02/11