This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is it feasible to build pthread library separated from the whole libc?


On Thu, Oct 27, 2011 at 1:43 AM, Alexey Umnov <umnoff@gmail.com> wrote:
> I need to build a pthread library for Android. I know this target
> already contains the most of pthread's functionality incorporated in
> bionic. But there are some functions omitted in android's libc which
> are crucial for me. I'm thinking of cutting out the most pthread's
> functionality (which exists in bionic) and build it without building
> the whole libc. Something like "$LIBC_SRS/build/make pthreads". In
> other words I don't need to build entire libc, but only pthread. If
> course I assume that I have all necessary headers (bionic, kernel) and
> libraries in a target's $SYSROOT.
> Actually I'm full of doubt about feasibility of such a hack, but just
> in case... May be anybody have any idea on this score?

Do you have full control of the Android device?

Just install a full glibc on the target and stop using bionic?

Building a hybrid bionic + glibc/pthread would be very impractical and
a lot of work.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]