Date: Tue, 16 Jan 1996 16:58:50 +0200 (IST) From: Eli Zaretskii To: Kevin Gehrke Cc: djgpp AT delorie DOT com Subject: Re: Problem with ez-gcc On 15 Jan 1996, Kevin Gehrke wrote: > I am new to this djgpp thing and have a stupid question. My cpp programs > are in their own directory. The include statements contain iostream.h in > them. When I compile it says it can't find iostream.h. It is in a directory > c:\djgpp\cplusinc . Do I need to put the whole path of the file iostream.h in > the include statement No, you don't. Gcc should be able to find the include directory itself. The way it works is by means of the DJGPP.ENV file. This should be in your C:\DJGPP directory, and the DJGPP environment variable should point to it, like this: set DJGPP=C:/DJGPP/DJGPP.ENV If you'll look into that file, you'll see a variable called CPLUS_INCLUDE_PATH that should point to the cplusinc directory. Most of the problems like yours are caused by the DJGPP variable not being set. I'd also advise you to download the file faq102.zip (from the same place you got DJGPP) and read the FAQ list there. The question you asked is already answered there.