Is it any way to build pthreads without building libc?

Ian Lance Taylor iant@google.com
Wed Oct 26 13:21:00 GMT 2011


Alexey Umnov <umnoff@gmail.com> writes:

> I hope this is the right topic for such a question. If no, I beg a pardon.
>
> Is it possible to build pthread library without building the whole
> libc? Of course I assume that libc exists on a target system
> (binaries, headers, kernel headers, etc), but it has not been build
> from the given sources.

This is the gcc mailing list.  gcc does not include a libc.  You would
have to ask the libc maintainers.  You didn't mention which libc you are
thinking of, but if it is glibc, see http://www.gnu.org/software/libc/ .

As far as I know there is no way to build the pthread library
separately, but it's quite possible that there is some way to do it that
I don't know about.

Ian



More information about the Gcc-help mailing list