ah sorry, I wasn't clear enough that I'm interested in the cases where you
have some of the __aeabi_ symbols in your shared library that do not get
properly linked at runtime.
I can't help you much with System.loadLibrary() right now :-(
On Fri, Mar 28, 2008 at 11:22 AM, David Given <[EMAIL PROTECTED]> wrote:
>
> Digit wrote:
> [...]
> > I'm still interested in knowing exactly which symbols are missing for
> > you in the C library.
>
> These are some of the ones I've seen missing:
>
> __aeabi_f2uiz
> __aeabi_lasr
> __aeabi_llsl
> __aeabi_llsr
>
> > Also, I would appreciate if you could give us instructions to exactly
> > reproduce the things you see so we can test them ourselves.
>
> I can't give exact instructions, I'm afraid, because this all works via
> JNI and so I need huge piles of infrastructure to make it all work.
> However, here's a minimal C file:
>
> ---snip---
> extern int this_symbol_is_undefined;
> int foo(void)
> {
> return this_symbol_is_undefined;
> }
> ---snip---
>
> Here are the commands used to generate the .so:
>
> ---snip---
> "c:/Program Files/CodeSourcery/Sourcery G++
> Lite/bin/arm-none-linux-gnueabi-gcc" -std=c99 -g -Os -fPIC -I"c:/Program
> Files/Java/jdk1.6.0_05/include" -c dummy.c -o dummy.o
>
> "c:/Program Files/CodeSourcery/Sourcery G++
> Lite/bin/arm-none-linux-gnueabi-ld" -g -Os -shared
> -Tarmelf_linux_eabi.xsc -o libDummy.so dummy.o
> ---snip---
>
> And here's an (untested, unfortunately; I was able to test the C stuff
> above) minimal class that ought to fail to load it:
>
> ---snip---
> public class Dummy
> {
> static void Load() throws UnsatisfiedLinkError
> {
> System.loadLibrary("Dummy");
> }
> }
> ---snip---
>
> So you see that there's nothing actually very exciting going on.
>
> --
> David Given
> [EMAIL PROTECTED]
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---