mingw using wrong errno definition

Chris Faylor cgf@cygnus.com
Wed Apr 5 12:56:00 GMT 2000

On Wed, Apr 05, 2000 at 02:52:18PM -0500, Parker, Ron wrote:
>> From: Chris Faylor [ mailto:cgf@cygnus.com ]
>> >Index: winsup/cinstall/Makefile.in
>> >===================================================================
>> >RCS file: /cvs/src/src/winsup/cinstall/Makefile.in,v
>> >retrieving revision 1.2
>> >diff -r1.2 Makefile.in
>> >102c102
>> >< zlib/zlibcygw.a: zlib/Makefile
>> >---
>> >>zlib/libzcygw.a: zlib/Makefile
>> I don't get this one.  My version of Makefile.in doesn't have 
>> a blank line
>> before the "zlib" here.  I've changed this to $(ZLIB) anyway 
>> since that
>> is more consistent.
>Strange, the copy I recieved from the list does not have the extra blank
>line.  All I was changing was a typo in the name of the lib file, so I could

Oh.  I focused on the space and missed the "zlibc".

>have a make of cinstall correctly and properly build and link zlib. Your
>$(ZLIB) macro should correct this as well.

Yeah, I defined it specifically to avoid problems like this since I had
misspelled libzcygw repeatedly.  Then I didn't use it where it mattered.

>>Can you try doing a "make clean all" in the cinstall directory and see
>>if that "fixes" things?
>I think I did, but will verify this tonight.

If it doesn't, you're right that this is somehow picking up cygwin includes.
Try doing a "gcc -v" on one of the source files to see where it thinks it
is picking up includes.  You can also do a "gcc -E" to get the definitive


More information about the Cygwin-developers mailing list