delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/29/05:14:37

Date: Mon, 29 Jan 1996 12:02:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Cooper <Peter AT trenham DOT demon DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: What the??

On Sun, 28 Jan 1996, Peter Cooper wrote:

> and went                   gcc file.cc
> The error came back:       IOSTREAM.H Cannot find filename or directory
> so the program changed to:

Are you working under Win95?  If so, you need to put "LFN=n" into your 
environment.

If this isn't under Win95, or if the above doesn't help, then add -v to
the gcc command line and try again.  Gcc will then print the list of
directories where it searches for include files.  Check to see whether the
directory with iostream.h is one of them.  If not, it's most probable that
your DJGPP environment variable doesn't point to the correct path of the
DJGPP.ENV file on your system (or isn't set at all).  Please make sure
that when you type SET from the DOS command line, you see a line like this
(among others): 

	DJGPP=c:/djgpp/djgpp.env

(but the pathname of DJGPP.ENV should be the correct place of that file 
on your system).  If you don't, set this variable from the DOS command 
line and try again.

- Raw text -


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