From: mikhail_tchernychev AT yahoo DOT com (Mikhail Tchernychev) Subject: Re: EGCS include files 16 Nov 1998 22:33:59 -0800 Message-ID: <19981116184059.26393.rocketmail.cygnus.gnu-win32@send201.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: cygwin win-32 Yes, you are right. After I replaced c:\cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\mingw32\ to c:\cygnus\cygwin-b20\H-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\include in C_INCLUDE_PATH (the same as CPP_INCLUDE_PATH) it seems it works. I got confused with different sttdef.h files. Is it correct if I choose -mno-cygwin option compiler will automatically pick up right includes ? Best Regards, Mikhail ---Mumit Khan wrote: > > On Sat, 14 Nov 1998, Mikhail Tchernychev wrote: > > > Hello Mumit, > > > > Here are files you requested. > > > > Thanks for the useful information. Unfortunately, I still don't the > output of ``gcc -v'' in your bug.txt, which I need. However, I > can see where the problem is -- somehow the compiler is picking up > *both* cygwin and mingw header files and that's what's causing the > problem. > > > c:\cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\stdio.h > ^^^^^^^^ > CYGWIN > > c:\cygnus\cygwin-b20\H-i586-cygwin32\i586-cygwin32\include\mingw32\stddef.h > > ^^^^^^^^^^^^^ > MINGW > > No wonder nothing works! You can't mix those two. > > Regards, > Mumit > > > _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".