delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/22/11:52:48

Date: Thu, 22 Jan 1998 18:52:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Michael Numminen <emwminu AT emw DOT ericsson DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: [Q] Can djgpp compile the C++ source ???
In-Reply-To: <34C72136.2519@emw.ericsson.se>
Message-ID: <Pine.SUN.3.91.980122185012.1427N-100000@is>
MIME-Version: 1.0

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 -


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