delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/08/01:46:42

X-Spam-Check-By: sourceware.org
Message-ID: <461881A9.B215BABC@dessent.net>
Date: Sat, 07 Apr 2007 22:46:17 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Re: Programs won't compile; complaining about missing standard headers
References: <BAY133-DAV140C80A0A4AF0696D8237DB95A0 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

"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.  If you had included cygcheck output
as instructed I'd be able to tell whether you have installed the
required MinGW packages, but since you didn't, all I can really conclude
is that your setup is broken in some way.

Brian

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019