[Vm-dev] Managed to compile "something" for Android...
goran at krampe.se
Tue Oct 27 08:58:24 UTC 2009
I managed using some small hacks in the new CMake files + using a
project called ndk-wrappers (that makes the regular Android NDK behave
more like a regular build env capable of producing executables) to stab
myself through the Squeak VM build and get this:
gokr at yoda:/media/ten/sqdroid/Squeak-184.108.40.2065-src/droid$ file squeakvm
squeakvm: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically
linked, not stripped
gokr at yoda:/media/ten/sqdroid/Squeak-220.127.116.115-src/droid$ ls -la squeakvm
-rwxr-xr-x 1 gokr gokr 1792112 2009-10-26 18:12 squeakvm
...now, moving it to the Android emulator and trying to run it cause a
seg fault :)
Then I installed a gdb on the emulator and managed to do "file squeakvm"
and followed by run - then boom. I don't know gdb enough to figure out
what to do...
But hey, some kind of progress! :) I should probably add a "-g" to the
build and see if I can get more info. All hints on gdb tricks appreciated.
More information about the Vm-dev