Mail Archives: djgpp/1997/02/05/10:30:09
On Tue, 4 Feb 1997, seguin wrote:
> #include "..." search starts here:
> #include <...> search starts here:
> /usr/local/lib/g++-include
> /usr/local/include
> /usr/local/go32/include
> /usr/local/lib/gcc-lib/go32/2.7.2.1/include
> /usr/include
> End of search...
This seems to indicate that you didn't properly set the environment
variable DJGPP. Please type the following line from the DOS prompt, then
try again:
set DJGPP=c:\djgpp\djgpp.env
(This assumes that your main DJGPP installation directory is C:\DJGPP; if
not, change that as appropriate for your system.)
> directories it is searching do not exist. My iostream.h file is
> found in the /lang/cxx directory.
So where is djgpp.env file? Is it in the root directory?
> I tried creating a separate
> directory called /usr/include, no luck. I tried using the switches
> -x c++, and a few others with the same result.
Did you consider reading the FAQ? It describes problems like this and
lists possible reasons and solutions (section 8.1). The latest version
of the FAQ is available as v2/faq210b.zip from the same place you get
DJGPP; or point your Web browser to the URL below and read it on-line:
http://www.delorie.com/djgpp/v2faq/
- Raw text -