[Ecls-list] Some bugs and a question.
rukubites at gmail.com
Sat Dec 29 21:12:46 UTC 2007
I checked out ecls from cvs about 5 hours ago:
(ECL (Embeddable Common-Lisp) 0.9i (CVS 2007-12-22 16:55) on Ubuntu 7.10 amd64.)
First my question: I'm wanting to use ecl to make a lisp library
accessible to C. I've read through some of the new-manual and am
trying to decipher the threads example. Is this the best example for
what I want to do? Are there any other examples?
1. configure doesn't complain when you don't have libgmp installed
(you find that out on make instead).
2. When loading a successfully compiled file, I get complaints that
"fixnum is not a class", when I have methods specialised to fixnum.
The workaround of #+ecl integer #-ecl fixnum seems to work. It's
obviously a bug because the file compiled okay (and fixnum
specialisation works on numerous other CL's).
3. The c package doesn't get autoloaded unless you compile-file first.
This means that e.g. c:build-fasl et al. fails:
> (c:build-fasl "myecl" :lisp-files '("hello.o"))
There is no package with the name C.
4. http://ecls.sourceforge.net/new-manual/ch22s07.html doesn't seem to exist.
5. ecl-config line 36 should probably be:
echo "-Dlinux -I/usr/local/include/ecl/"
echo "-Dlinux -I/usr/local/include/"
OR examples/threads/import/import.c:43 should be:
Probably the latter.
6. After fixing import.c:62 to:
I got the import example to work, however, it stalls with:
5Collecting from unknown thread.
More information about the ecl-devel