about bionic lbc

22 views
Skip to first unread message

dhananjay

unread,
Jan 10, 2009, 2:09:20 AM1/10/09
to android-platform
Hi All,
what all modules comprises of bionic libc source code ?
and where it is located? is there only in bionic dir or
somewhere else?

Regards,
DJ

David Turner

unread,
Jan 10, 2009, 10:24:32 AM1/10/09
to android-...@googlegroups.com
bionic/libc contains the C library source code, including the pthread implementation
bionic/libm is the math library
bionic/libthread_db is only used for debugging threaded programs

Dhananjay Joshi

unread,
Jan 11, 2009, 11:03:58 PM1/11/09
to android-...@googlegroups.com
Hi David,
              thanks for replying.but some of the dirs there in system/core/ by the name libcutils,libutils,android_runtime and other libraries like libdvm,libcrypto what they do?
are these libraries part of bionic libc or not?
Please reply
 
Regards,
DJ

David Turner

unread,
Jan 12, 2009, 6:05:46 AM1/12/09
to android-...@googlegroups.com
no they are not,

libcutils is a library containing various useful C-based utility functions used by the system
libutils contains additionnal C++ based utility functions/classes
android_runtime is where all the yummy JNI stuff called by the Java framework lives
libcrypto is for crypto stuff

system/core contains the "core" native libraries, but not the C library, math library, dynamic linker which are under bionic/...

hope this helps
Reply all
Reply to author
Forward
0 new messages