c++/4479
Christopher Faylor
cgf@redhat.com
Mon Oct 8 16:14:00 GMT 2001
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 <cgf@cygnus.com>
* 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
More information about the Gcc-bugs
mailing list