android instructions update

This commit is contained in:
David Botton 2024-04-21 10:54:30 -04:00
parent 6aef987003
commit 9072def697

31
ANDROID-TERMUX.md vendored
View file

@ -11,6 +11,27 @@ pkg install zstd
pkg install libsqlite 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" 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 - 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 sbcl --eval '(ql:quickload :quicklisp-slime-helper)' --quit
``` ```
Both _SBCL and _ECL_ continue here:
Add to ~/.emacs.d/init.el Add to ~/.emacs.d/init.el
``` ```
@ -41,14 +64,10 @@ M-x slime
(ql:quickload :clog) (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") ("/data/data/com.termux/files/usr/lib/libsqlite3.so")
``` ```
(ql:quickload :clog/tools) (ql:quickload :clog/tools)
(clog-tools:clog-builder) (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.