예전에 안드로이드 관련 과제를 진행하면서 보았던 Reference 들이다.
- MTD hwcontrol 부분 리팩토링 http://lists.infradead.org/pipermail/linux-mtd-cvs/2006-May/005485.html
- http://sourceware.org/ml/crossgcc/2007-07/msg00029.html
- http://sourceware.org/ml/crossgcc/2007-07/msg00028.html mawk 말고 gawk를 써!
- http://sourceware.redhat.com/ml/crossgcc/2006-12/msg00094.html -nounpack 쓰지마!
- http://www.lanana.org/docs/device-list/devices-2.6+.txt mknod Device No.
- http://www.faqs.org/docs/Linux-mini/NFS-Root.html NFS root file system을 쓰는 방법
- http://androidzaurus.seesaa.net/article/87973048.html double buffering
- http://www.oesf.org/forum/index.php?showtopic=25517&pid=174955&mode=threaded&start= double buffering
- http://tree.celinuxforum.org/CelfPubWiki/Jamboree18AndroidDemo 후지쯔 포팅기
- http://ruckuus.wordpress.com/2008/03/29/step-by-step-porting/
1.2 Reference #
[edit]
1.2.2 Android Internal #
- http://honeypod.blogspot.com/2007/12/initialize-libc-for-android.html
- http://honeypod.blogspot.com/2007/12/shared-library-hello-world-for-android.html
- http://honeypod.blogspot.com/2007/12/dynamically-linked-hello-world-for.html
- http://honeypod.blogspot.com/2007/12/compile-android-kernel-from-source.html
- http://benno.id.au/blog/2007/11/29/android-update-systemimg
- http://benno.id.au/blog/2007/11/29/android-qemu
- http://benno.id.au/blog/2007/11/26/what-is-android
- http://benno.id.au/blog/2007/11/21/android-neo1973
- http://benno.id.au/blog/2007/11/18/android-runtime-strace
- http://benno.id.au/blog/2007/11/18/android-framework-startup
- http://benno.id.au/blog/2007/11/13/android-under-the-hood
- http://benno.id.au/blog/2007/11/14/android-busybox
- http://www.billrocks.org/ideas/index.php?/archives/20-Debugging-Android-Native-C-Applications-with-gdb.html
- http://euedge.com/blog/2007/12/06/google-android-runs-on-sharp-zaurus-sl-c760
- http://davanum.wordpress.com/2007/12/09/android-invoke-jni-based-methods-bridging-cc-and-java
- http://nemustech.blogspot.com/2007/12/android-porting-to-real-target-hw.html
- http://nemustech.blogspot.com/2007/12/android-porting-notes.html
이건 아마도 JNI 관련 라이브러리를 만드는 중에 시도했던 삽질 과정 중의 컴파일 옵션들..
- ./configure –host=arm-none-linux-gnueabi –enable-shared CFLAGS=-fpic CXXFLAGS=-fpic LDFLAGS=-shared
- ./configure –host=arm-none-linux-gnueabi –enable-shared
CFLAGS=-fpic CXXFLAGS=-fpic CPPFLAGS=”-fpic -I/usr/local/include/
-I/usr/lib/jvm/java-6-sun/include
-I/usr/lib/jvm/java-6-sun/include/linux” LDFLAGS=-shared
이후에 자료들이 많이들 생긴 듯 해서 별로 필요는 없을 듯 하지만, 위키 쪽 자료들을 조금씩 정리하면서 블로그로 옮기고 정리해가자.
2012. 6. 19. 추가
Make shared native library: g++ -shared -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux -o libjnifunc.so jnifunc.cpp
Run: java -Djava.library.path=. JniFuncMain
Geting “Signature”: javap -s -p JniFuncMain