delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/07/22:34:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTi=pPtFgiQWetLVuV3y6Xd_R_8KRHnsFugMo7Uzn@mail.gmail.com>
References: <AANLkTi=pPtFgiQWetLVuV3y6Xd_R_8KRHnsFugMo7Uzn AT mail DOT gmail DOT com>
Date: Tue, 7 Dec 2010 22:34:36 -0500
Message-ID: <AANLkTi=BydEYimjoyBhpDVBR98WUhGLxwLBdY=HX1-vj@mail.gmail.com>
Subject: Re: Cygwin: GCC /usr/local/include: not a directory
From: chris henry <mozark24 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Resolved, I found a file called "include" was added today to my
/usr/local/ directory which was messing up GCC.  Removal fixed the
issue.

Chris

On Tue, Dec 7, 2010 at 10:25 PM, chris henry <mozark24 AT gmail DOT com> wrote:
> Hello,
>
> I have a bit of an emergency. =A0After running a poorly written makefile
> my gcc compiler install is now messed up. =A0I get the following error
> when compiling:
> gcc helloworld.c -o helloworld
> cc1: /usr/local/include: not a directory
>
> The same happens when I try: gcc -I/usr/include/
>
> I've also reinstalled gcc to no avail. =A0I assume this has to do with
> the paths in cygwin but I dont see where it is pointing to
> /usr/local/include at all. =A0Anyone able to help?
>
> Thanks,
> Chris
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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