forked from ageneau/ecl-android
/
README
22 lines (16 loc) · 879 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This project contains the needed patches to run ECL on android.
The included Makefile will download and patch ECL (git and cvs are needed).
You'll need the android SDK + NDK to compile / run this project
(assumed to be in /opt/android/android-sdk-linux_86 and
/opt/android/android-ndk-r5)
The included "hello-jni" android application demonstrates how to
start/run ecl from an android app using JNI. Right now it just loads
the file "init.lsp" and displays "Hello World".
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.
You'll need to change the path for your cross-compiled ECL in
jni/Android.mk (assumed to be in /opt/ecl/android)
If you want to debug native code on the android emulator, check the
procedure in gdb_wrapper.
Sylvain Ageneau <ageneau@gmail.com>