This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin: GCC /usr/local/include: not a directory


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@gmail.com> wrote:
> Hello,
>
> I have a bit of an emergency. ?After running a poorly written makefile
> my gcc compiler install is now messed up. ?I 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. ?I assume this has to do with
> the paths in cygwin but I dont see where it is pointing to
> /usr/local/include at all. ?Anyone 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]