Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: atacama.four-d.de: mail set sender to <tpfaff@gmx.net> using -f
Message-ID: <3DDB79BE.8040006@gmx.net>
Date: Wed, 20 Nov 2002 13:02:06 +0100
From: Thomas Pfaff <tpfaff@gmx.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@cygwin.com
Subject: Re: gcc-3.2-3:  bootstrap build fails (HAVE_DECL_GETOPT not in config.h?)
References: <NDBBJEBGAAGAIKPGOOFIEEAMDMAA.mhcox@bluezoosoftware.com> <3DDAC5F3.6070004@nigels.com> <20021120000137.GB27204@redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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/

