thanks David,
I'm still interested in knowing exactly which symbols are missing for you in
the C library.
Also, I would appreciate if you could give us instructions to exactly
reproduce the things you see so we can test them ourselves.
what I mean is:
1. a small C or C++ source file
2. the exact toolchain version you're using, how you built it / installed it
/ etc...
3. exactly how you compile your given source file into an object and/or
executable or shared library
thanks in advance
On Fri, Mar 28, 2008 at 10:37 AM, David Given <[EMAIL PROTECTED]> wrote:
>
> David Given wrote:
> [...]
> > Perhaps I should avoid libc completely where possible and do direct
> > syscalls instead? It's awfully ugly. Unless there's a set of Official
> > Header files somewhere that I've missed, which I could compile
> against...
>
> Thanks to the magic of Unix textutils, I've managed to put together a
> workaround:
>
> ($(OBJDUMP) -T libc.so && \
> $(OBJDUMP) -T libm.so) | \
> awk '$$2=="g" { print $$6 }' | sort > libsymbols
> $(OBJDUMP) -T $(LIBNAME) | \
> awk '$$3=="*UND*" { print $$5 }' | sort > mysymbols
> diff mysymbols libsymbols | grep '<'
>
> You need to pull the libraries you're interested in off the device with
> adb pull; then the above will collect the list of symbols in the
> libraries, the list of symbols in your shared library $(LIBNAME), and
> report all symbols that aren't there. What you should get is no output.
>
> Hope this is of use to someone...
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---