From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: billingd@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/4479 Date: Mon, 08 Oct 2001 16:16:00 -0000 Message-id: <20011008231601.19665.qmail@sourceware.cygnus.com> X-SW-Source: 2001-10/msg00168.html List-Id: The following reply was made to PR c++/4479; it has been noted by GNATS. From: Christopher Faylor To: David Abrahams Cc: billingd@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Subject: Re: c++/4479 Date: Mon, 8 Oct 2001 19:15:33 -0400 On Mon, Oct 08, 2001 at 06:41:48AM -0400, David Abrahams wrote: > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc > >Even with the latest cygwin snapshot, the same problems ensue when I "export >PATH=/usr/bin:$PATH" in order to bypass the installed gcc-3.0 and use the >gcc-2.95.3 that came with cygwin. The really odd thing about this is that I >know I've done it successfully in the past. This is a libiberty/windows bug. I applied this patch to the trunk but never applied it to the 3.0 branch: cgf Tue Aug 21 12:35:04 2001 Christopher Faylor * configure.in: Set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hosting on cygwin. * configure: Regenerate. Index: configure.in =================================================================== RCS file: /cvs/uberbaum/libiberty/configure.in,v retrieving revision 1.33 retrieving revision 1.35 diff -u -r1.33 -r1.35 --- configure.in 2001/07/05 17:24:39 1.33 +++ configure.in 2001/08/21 16:40:45 1.35 @@ -190,6 +190,13 @@ AC_SUBST(CHECK) +case "${host}" in + *-*-cygwin*) + AC_DEFINE(HAVE_SYS_ERRLIST) + AC_DEFINE(HAVE_SYS_NERR) + ;; +esac + if test -z "${setobjs}"; then case "${host}" in