• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    Common Lisp
  • License
    Other
  • Created almost 14 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Patches for ECL to run on android iOS and Native client (Obsolete: You should use https://gitlab.common-lisp.net/ecl/ecl-android instead)
Warning: This project is obsolete. You probably want to use: https://gitlab.common-lisp.net/ecl/ecl-android instead.


This project contains the needed patches to run ECL on android.

The included Makefile will download and patch ECL (git is needed).
See INSTALL for details.

You'll need the android SDK + NDK to compile / run this project

The included "HelloEcl" android application demonstrates how to
start/run an in-process ECL from an android app using JNI. It loads
the file "init.lisp" and displays a Toast notification. It also starts
a swank server on port 4005 (on the emulator use "adb forward tcp:4005 
tcp:4005" to be able to connect to it from slime). The first run will
be slow because swank needs to be byte-compiled. To get more 
information on what ECL is doing you might want to enable stdout/stderr
redirection:

adb shell stop
adb shell setprop log.redirect-stdio true
adb shell start

The cross-compiled ecl binary can also be run as a standalone
executable (just "adb push" it to a directory on the emulator and use
"adb shell" to execute it.

Sylvain Ageneau <[email protected]>