17 messages in com.googlegroups.android-internalsRe: [android-internals] Re: Need litt...| From | Sent On | Attachments |
|---|---|---|
| Diluka Moratuwage | 18 Feb 2008 23:08 | |
| Diluka Moratuwage | 20 Feb 2008 20:52 | |
| hackbod | 20 Feb 2008 22:21 | |
| Diluka Moratuwage | 20 Feb 2008 23:56 | |
| Diluka Moratuwage | 21 Feb 2008 09:51 | |
| Diluka Moratuwage | 22 Feb 2008 01:34 | |
| Diluka Moratuwage | 22 Feb 2008 03:17 | |
| Susmith M R | 24 Feb 2008 11:00 | |
| Diluka Moratuwage | 24 Feb 2008 18:49 | |
| Susmith M R | 28 Feb 2008 10:22 | |
| Diluka Moratuwage | 28 Feb 2008 10:49 | |
| Susmith M R | 02 Mar 2008 11:25 | |
| Diluka Moratuwage | 02 Mar 2008 20:16 | |
| Diluka Moratuwage | 02 Mar 2008 20:22 | |
| jitendra | 18 Mar 2008 02:23 | |
| sbVB | 19 Mar 2008 09:10 | |
| sbVB | 20 Mar 2008 17:07 |
| Subject: | Re: [android-internals] Re: Need little help for JNI![]() |
|---|---|
| From: | Diluka Moratuwage (dil...@wso2.com) |
| Date: | 02/24/2008 06:49:44 PM |
| List: | com.googlegroups.android-internals |
Thanks Susmith, but the problem is my front end is java. So, it the Dalvikvm is the one who is responsible for calling the dynamic linker (it calls /system/bin/linker), so it can't load any library other than the one in the Android i.e. Can't load GLIBC libraries. I also am using your tactic. Now going to try some other way (compiling the toolchain to suite for Android.) Then those GLIBC libraries will be loaded by the default linker. Any thoughts ?
Thanks, Diluka. Susmith M R wrote:
Hai Diluka,
I don't have enough knowledge in JNI and java coding. But i have
tried creating c++ application with the support of custom linker. I
have
successfully did that.
How r u creating libloader and libutils libraries?
If u r creating it manually then do not use -Wl,-dynamic-linker=/
system/lib/linker. Use -Wl,-dynamic-linker=/system/lib/ld-linux.so.3
and push this library to android /system/lib directory
I doubt about what u said about loading shared library of JNI.
If u want to know how to create a shared library without the android
linker
follow the link
http://groups.google.com/group/android-internals/browse_thread/thread/7c728a36474fbc05




