Ticket #5 (new engine port)
Make an Android port
| Reported by: | makslane | Owned by: | makslane |
|---|---|---|---|
| Priority: | major | Component: | gameEngine |
| Version: | Keywords: | ||
| Cc: |
Description (last modified by makslane) (diff)
Make a port of the game engine for Android based devices.
The Android has a linux system with the ARM processor.
Game Editor already have a linux engine for ARM processor, so I think the port can be made fast.
Get more info here:
http://code.google.com/android
http://www.anddev.org/sdl_port_for_android_sdk-ndk_16-t9218.html
http://groups.google.com/group/android-developers/browse_thread/thread/47871c7ac035e847/01731f45b5adce50?pli=1
Misc info:
- Before open the project:
- Copy android-arm-linux.rules to arm-linux.rules to compile for Android
- Copy gp2x-arm-linux.rules to arm-linux.rules to compile for GP2X
- SDL_fbvideo "/dev/graphics/fb0" (http://groups.google.com/group/android-developers/browse_thread/thread/31f284749364f20d/a2d6815c23ee76b7?#a2d6815c23ee76b7)
- emulator -console
- adb shell
- Dynamic link: arm-none-linux-gnueabi-ld -rpath . hello.o libc.so -I /system/bin/linker -o hello (http://groups.google.com/group/android-developers/msg/3d68334a74a9bab2)
- toolchain: http://www.codesourcery.com/gnu_toolchains/arm/download.html
- arm-2007q3-51-arm-none-linux-gnueabi.exe
- arm-none-linux-gnueabi-g++.exe -static -o hello hello.cpp
- arm-none-linux-gnueabi-c++.exe -static -o hello hello.cpp
- http://www.gnu.org/software/make/manual/make.html
- put arm-none-linux-gnueabi-gcc.exe in the arm-linux.rules file?
- Remove /lib/ld-linux.so.3
- nodefaultlib
- /system/bin/linker (path of ld in the Android)
- http://homepages.cwi.nl/~aeb/linux/man2html/man8/ld.so.8.html