[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie can't get gcc to find include files

From: Chet Ramey
Subject: Re: Newbie can't get gcc to find include files
Date: Mon, 8 Jul 2002 13:04:21 -0400

> gcc is not finding an include file that is present when I use Cygwin
> and a bash shell.  I have written a simple hello world program to
> illustrate the problem.
> The files are specified to be in my path in the .profile directory.
> PATH="/usr/X11R6/include/Xm/X11:$PATH"
> export PATH
> So why doesn't gcc know that it is present?

Because PATH has nothing to do with where gcc looks for its include files.

``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]