From 9072def697d9d680cd0f6ed9a1e392863451a3f2 Mon Sep 17 00:00:00 2001 From: David Botton Date: Sun, 21 Apr 2024 10:54:30 -0400 Subject: [PATCH] android instructions update --- ANDROID-TERMUX.md | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/ANDROID-TERMUX.md b/ANDROID-TERMUX.md index 0e1ca09..2e5afb5 100644 --- a/ANDROID-TERMUX.md +++ b/ANDROID-TERMUX.md @@ -11,6 +11,27 @@ pkg install zstd pkg install libsqlite ``` +To use _ECL_ use the following (sbcl below): + +``` +pkg install clang +pkg install ecl + +curl -o ql.lisp http://beta.quicklisp.org/quicklisp.lisp +ecl +``` +then run in ecl: + +``` +(load "ql.lisp") +(quicklisp-quickstart:install :path "~/.quicklisp") +(ql:add-to-init-file) +(ql:quickload :quicklisp-slime-helper) +``` + +To use _SBCL_ use the following instead: + + ``` curl -OL "https://github.com/bohonghuang/sbcl-termux-build/releases/download/2.3.3/sbcl-2.3.3-arm64-termux.tar.zst" unzstd -c "sbcl-2.3.3-arm64-termux.tar.zst" | tar -xf - @@ -27,6 +48,8 @@ sbcl --no-sysinit --no-userinit --load ql.lisp \ sbcl --eval '(ql:quickload :quicklisp-slime-helper)' --quit ``` +Both _SBCL and _ECL_ continue here: + Add to ~/.emacs.d/init.el ``` @@ -41,14 +64,10 @@ M-x slime (ql:quickload :clog) ``` -A failure will occur for sqlite, choose {use-value} +A failure will occur for sqlite on sbcl, choose {use-value} ("/data/data/com.termux/files/usr/lib/libsqlite3.so") ``` (ql:quickload :clog/tools) (clog-tools:clog-builder) -``` - -For the moment running the builder locally works but dragging windows does not so at the command line you can use ifconfig to obtain the IP of you phone or tablet and you can now use: -http://xxxx:8080/builder -on machines on the same network. +``` \ No newline at end of file