delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/20/07:02:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: atacama.four-d.de: mail set sender to <tpfaff AT gmx DOT net> using -f
Message-ID: <3DDB79BE.8040006@gmx.net>
Date: Wed, 20 Nov 2002 13:02:06 +0100
From: Thomas Pfaff <tpfaff AT gmx DOT net>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc-3.2-3: bootstrap build fails (HAVE_DECL_GETOPT not in config.h?)
References: <NDBBJEBGAAGAIKPGOOFIEEAMDMAA DOT mhcox AT bluezoosoftware DOT com> <3DDAC5F3 DOT 6070004 AT nigels DOT com> <20021120000137 DOT GB27204 AT redhat DOT com>

Christopher Faylor wrote:
> On Wed, Nov 20, 2002 at 10:14:59AM +1100, Nigel Stewart & Fiona Smith wrote:
> 
>>Michael,
>>
>>I have encountered the same problem on my setup.
>>
>>Regards,
> 
> 
> I have not encountered the same problem in my setup.
> 
> HTH,
> cgf
> 

I have the same problem and i suspect that this is due to the definition 
of getopt in unistd.h. IMHO this should be only in getopt.h or unistd.h 
should define HAVE_DECL_GETOPT too. As a workaround i have removed the 
declaration of getopt in gcc's getopt.h.

Thomas


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019