This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: glibc basic informations


On Fri, Dec 16, 2005 at 02:27:17PM +0100, Gildas Bayard wrote:
> I've got a compile problem with glibc 2.3.6 using powerpc-linux-gcc
> 3.3.3 and cross compiling from x86 to powerpc.

> Here it is: what is the current pthread library used in glibc?
> It seems like it's NPTL since there's a nptl directory in the sources.
> But the documentation keeps on telling me I must install the
> linuxthreads add-on to get thread support. Is the documentation simply
> out of date?

If you are compiling glibc 2.3.6, you have your choice of NPTL or
LinuxThreads for most platforms.  If you are using GCC 3.3.3 for
PowerPC, you don't.  Use LinuxThreads or upgrade to a more recent
compiler.

To use NPTL, use --enable-add-ons.  To use LinuxThreads, use
--enable-add-ons=linuxthreads, or --enable-add-ons and remove the
"nptl" subdirectory.  Obviously, be sure to unpack the separate
glibc-linuxthreads package.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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