Hello Maxima developers,
Could you consider applying this patch? https://git.sagemath.org/sage.git/tree/build/pkgs/maxima/patches/build-fasl.patch
SageMath build the ECL version of Maxima as a FASL library and let the user play with the internals via ECL. This allows for smoother between Sage's python objects and Maxima's lisp objects - see here for details: https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/maxima_lib.html
We are trying to package SageMath for Debian and the fact that the above FASL patch has not yet been applied, makes things slightly awkward for everyone involved. If you like, it could be hidden behind a configure flag like --enable-fasl
.
Can I try this again? I am working to undo some of the custom maxima patching in both SageMath and Gentoo linux. Where possible, an easy way to do that is by upstreaming the changes that seem reasonable for inclusion, like this patch. We carry the following relatively-simple version of it in Gentoo:
https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-mathematics/maxima/files/ecls-4.patch
If it causes some problems, maybe you can let us know and we can help resolve them.
Hi Michael, hi Ximin, sorry for the late reply. The patch looks like it adds the new feature of building a FASL library without changing any existing functionality. Is that right?
In the ECL-but-no-MSVC branch, we already build a program, but not a shared library. As far as I can tell, the patch just makes it also build the shared library in that case.
Yes, this is really just an additional build-target. It would really be a bug if it affected anything when not activated.
I've applied the patch as commit a0d7a43. Sorry for the delay, and thanks for submitting the patch. I appreciate your help.
Thank you!