This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: wanting to clarify building with linuxthreads versus NPTL


On Tue, 13 Dec 2005, Khem Raj wrote:

> Robert
>
> It is pretty complete. however if you want linuxthreads and NPTL to
> be using same ld.so you might want to build glibc with linuxthreads
> and --with-tls So that it understands the TLS.

so you're saying that i should modify the following stage:

> > building and installing glibc:
> > -----------------------------
> >
> >   for linuxthreads, this step in crosstool had the following
> > thread-related configure options:
> >
> > 	--without-tls
> > 	--without-__thread
> > 	enable-add-ons=linuxthreads
> >
> >   for NPTL, though, i'm pretty sure i needed all of the following:
> >
> > 	--with-tls
> > 	--with-__thread
> > 	enable-add-ons=nptl

and, when i'm building with linuxthreads, use --with-tls just to be
consistent with NPTL?  and that's the only change you'd recommend?

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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