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: References: Date: Tue, 7 Dec 2010 22:34:36 -0500 Message-ID: Subject: Re: Cygwin: GCC /usr/local/include: not a directory From: chris henry To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 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 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