gcc-3.2-3: bootstrap build fails (HAVE_DECL_GETOPT not in config.h?)

Thomas Pfaff tpfaff@gmx.net
Wed Nov 20 07:15:00 GMT 2002


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/



More information about the Cygwin mailing list