Mail Archives: djgpp/1996/10/09/03:10:48
On 8 Oct 1996 ebromber AT forest DOT drew DOT edu wrote:
> I recently downloaded all of the files and installed them. Then when I
> went to compile a program that printed "hello" the compiler kept telling
> me that the iostream.h file was not found. But when I searched the
> directories it was there. Why is this happening?
You should set the DJGPP environment variable to point to your top DJGPP
installation directory. Assuming you installed DJGPP in C:\DJGPP, this
is what you should add to your AUTOEXEC.BAT (or type from the DOS command
line):
set DJGPP=C:\DJGPP\DJGPP.ENV
(note: no spaces around the `=' sign!).
If the above doesn't help, get the DJGPP FAQ list (v2/faq201b.zip from
the same place you get DJGPP) and read section 8.1 there which discusses
a few more reasons for your problem.
- Raw text -