freenode/#ecl - IRC Chatlog
Search
13:35:11
pls153
what did you try? have you seen how it's done here: https://gitlab.com/eql/EQL5-Android/-/blob/master/examples/REPL/make.lisp
13:37:13
borodust
i used example from here https://common-lisp.net/project/ecl/static/manual/System-building.html#Compiling-with-ASDF
13:38:25
borodust
i'm gonna try preloading asdf system into host ECL and then calling #'asdf:make-build (encountered some other unrelated problems which i'm fixing atm)
13:40:02
borodust
i use this script to cross-compile https://github.com/borodust/alien-works-android-runtime/blob/master/alien-works-android/ecl/build-system.lisp
13:42:02
pls153
the link I gave has a comment on top of it and describes how it's done; should be easy enough to adapt to ECL only (leaving out the eql5 parts)
13:46:16
borodust
but preloading specifically bytecompiled version is an interesting approach, i'll keep it in mind
13:47:26
pls153
(I wrote the thing), it collects all files like ASDF loads them, and doesn't need ASDF for cross-compiling them
13:49:58
borodust
don't want to dig into asdf internals cuz asdf plugins might skip something while keeping result intact
13:58:37
pls153
you may also want to look at this approach: https://gitlab.com/spaghettisalat/jffi_repl_example/-/tree/master/app/src/main/lisp/asdf_libs
16:11:28
bilalkhan
hi, I am facing this condition ""The function CL-STORE::SLOT-DEFINITION-NAME is undefined."
16:18:28
borodust
can you arrange a short demo that reproduces the problem? like, where you load cl-store and try to store an object and that doesn't work
16:22:54
bilalkhan
I started simple EQL session,load the package and tried to store the demo object as this: (cl-store:store (list (find-class 'HEAD) #'name (make-instance 'HEAD :name "oLo")) "test.out")
18:11:08
bilalkhan
it works with the latest ECL version and the latest cl-store version from quicklisp
18:37:40
bilalkhan
I recompiled EQL5 with the latest version of ECl and now it gives errors about floating points
19:11:51
pls153
bilalkh: generic note: when using eql5 it's always wise to have `(si::trap-fpe t nil)` in your code