Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <001501c14f57$16bfc460$0500a8c0@laptoprosehulman.edu> From: "Paul Brobst" To: References: <200110071738 DOT f97HcHU18282 AT muxin DOT dhis DOT org> Subject: compiling GCC3.0.1 under cygwin Date: Sun, 7 Oct 2001 13:39:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I've been trying to build GCC 3.0.1 under cygwin but have been running into some problems. I ran the configure, which encountered no problems. When I use 'make bootstrap' in the directory I ran the configure in I get an error pertaining to sys_errlist and a warning about sys_nerr. Specifically it says: gcc-3.0.1/libiberty/strerror.c:465: conflicting types for 'sys_errlist' /use/include/sys/errno.h:23: previous declaration of 'sys_errlist' and gcc-3.0.1/libiberty/strerror.c:465: warning: static declaration for 'sys_nerr' follows non-static From what I can figure out is that configure is determining that these two things arent defined, sets its HAVE_SYS_ERRLIST flag, and is now trying to define them but it turns out that they are defined. Do any of you have experience with this? I am admittedly unexperienced with this stuff, so I figured this would be a good place to ask. Is there any way I can change that HAVE_SYS_ERRLIST flag manually, after I run the configure? I noticed in the GCC instructions it says that current (up to early 2001) builds should compile with no modifications under cygwin. Any help is much appreciated. -Paul Brobst -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/