Mail Archives: djgpp/1998/01/22/11:52:48
On Thu, 22 Jan 1998, Michael Numminen wrote:
> Kim,Young-Jae wrote:
> >
> > And I typed some source file and command to compile it...
> > c:\> gcc arraynew.cpp -o arraynew.exe
> > but it reports various error message, which says it cannot load
> > "iostream.h"...
> > I've found that "iostream.h" is in the directory "c:\djgpp\lang\cxx"
> > not in the directory "c:\djgpp\include"...
> You must compile with options -lgpp, like this:
>
> c:\> gcc arraynew.cc -lgpp -o arraynew.exe
Sorry, this reply is incorrect. The -lgpp argument has nothing to do
with GCC being unable to find the C++ include directory.
The most probable cause for the problem is that the DJGPP environment
variable is set incorrectly (or not set at all). Please read the file
README.1ST again and set that variable to point to your DJGPP.ENV file.
- Raw text -