This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Check for ucontext.h and sys/ucontext.h
> Date: Sun, 4 Nov 2001 12:36:10 -0500
> From: Craig Rodrigues <rodrigc@mediaone.net>
> Cc: gcc-patches@gcc.gnu.org, rth@redhat.com
> Content-Disposition: inline
> User-Agent: Mutt/1.2.5i
>
> On Sat, Nov 03, 2001 at 01:06:22PM -0800, Geoff Keating wrote:
> > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4068&database=gcc
> >
> > You need to change config.gcc's entry for i[34567]86-*-linux*libc1 and
> > the i386/linux.h header file so that the appropriate header is used
> > for this target configuration.
>
>
> PR 4068 mentions that he is using glibc 2.0.7, so it is
> not a libc1 system. It looks like ucontext.h was added
> in GNU libc 2.1 and higher.
OK. In that case, we probably need to add a version number to the
triplet. Inside Red Hat, we use
i686-pc-linux-gnulibc2.0
i686-pc-linux-gnulibc2.1
i686-pc-linux-gnulibc2.2
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>