X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <461881A9 DOT B215BABC AT dessent DOT net> Subject: RE: Programs won't compile; complaining about missing standard headers Date: Sun, 8 Apr 2007 13:37:10 +0100 Message-ID: <007b01c779da$a066c6b0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <461881A9.B215BABC@dessent.net> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 08 April 2007 06:46, Brian Dessent wrote: > "C.W. Betts" wrote: > >> When I try to compile applications now, I get the following errors (see >> error.txt). These are standard libraries and headers. Is there some >> script that I can run that will fix this? I have already tried to >> reinstall cygwin. > > You're using the -mno-cygwin switch which turns gcc into the MinGW gcc. > So of course it's not going to find the standard include headers in > /usr/include, because they are only for Cygwin programs. It should find > them in /usr/include/mingw though. Unfortunately it won't, because yesterday's release of mingw-runtime has a packaging bug. The fix, for now, is to use setup.exe to roll back the mingw-runtime package to the "prev" version, 3.11-1. See also http://cygwin.com/ml/cygwin/2007-04/msg00244.html http://cygwin.com/ml/cygwin-apps/2007-04/msg00043.html cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/