pouar

Results 34 comments of pouar

by "include all maxima source lisp files as if they were part of ECL". You mean merge Maxima into the ECL source tree?

Or do you mean statically linking it with ECL?

Ok, I managed to figure out out to cross compile Maxima as a module using ASDF based off of the examples from EQL5-Android, but it involved patching ECL, as `maxima::make-unspecial`...

these were the patches I used [ecl.patch.gz](https://github.com/YasuakiHonda/Maxima-on-Android-AS/files/4432037/ecl.patch.gz) [maxima.patch.gz](https://github.com/YasuakiHonda/Maxima-on-Android-AS/files/4432038/maxima.patch.gz)

also, I used the develop branch of ECL instead of 16.1.3, which I heard works with newer NDK

I picked the develop branch because that's what EQL5 did

also I had to set the logical host `"SYS:**;*.*"` to the path where the modules are on the android side as I haven't figured out how to do that from...

changed maxima.patch a bit. [maxima.patch.gz](https://github.com/YasuakiHonda/Maxima-on-Android-AS/files/4432134/maxima.patch.gz) to compile Maxima, after setting up the cross compile environment mentioned in the ECL manual, you'd set the environmental variable TOOLCHAIN_PATH to the one mentioned...

So far, I've only tested this resulting binary in Termux, haven't got it to work in the Android app yet. But this is how far I got so far.

I used Arch Linux as the host, I used 19c for the ndk, I made a 32bit binary just so I could test it in Termux. Didn't have much trouble...