www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/09/03:10:48

Date: Wed, 9 Oct 1996 08:57:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: ebromber AT forest DOT drew DOT edu
Cc: djgpp AT delorie DOT com
Subject: Re: Compiler problem
In-Reply-To: <1996Oct8.140214.147298@forest>
Message-Id: <Pine.SUN.3.91.961009085256.8012J-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019