This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GNAT and NPTL (3.3?)
On Tue, Apr 29, 2003 at 12:58:57PM +0200, Arnaud Charlet wrote:
> Now, if someone could clarify the situation on redhat 9 with linuxthreads and
> ntpl, that'd be very useful: how do they coexist ? what header files
> are used for which library, how does one switch from one to the others, ... ?
RH9 uses the linuxthreads headers by default, the nptl-devel rpm doesn't
seem to be installed by default and you don't need it usually.
if you have i686+ cpu and a kernel with threading monster patch (or a 2.5
kernel) it'll use nptl, else linuxthreads. If you want to use linuxthreads
even if you would get nptl by default set LD_ASSUME_KERNEL to 2.4.x
where x < 20. The other way around doesn't work.
IF you have some non-trivial question I'd suggest asking them on
phil-list at listman dot redhat dot com where the people that actually have a clue about
nptl hang around :)