delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/10/06:16:40

Date: Sun, 10 Dec 2000 13:15:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: cryptopo <cryptopo AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: cannot file include <iostream>
In-Reply-To: <90vgui$18p4@r02n01.cac.psu.edu>
Message-ID: <Pine.SUN.3.91.1001210130917.2353B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 10 Dec 2000, cryptopo wrote:

> I tried a few
> gcc mysource.cc
> g++ mysource.cc
> g++ -c -Wall mysource.cc
> 
> all gives the same error, seems like it is missing some of these standard
> headers.

What error?  Please post the exact error message, I specifically asked 
for that.

Also, there's no g++ program in the DJGPP port of GNU C/C++ compiler.  
Are you sure you are using the DJGPP port of GCC?

> Emacs version is 20.5.  The files compile.elc or compile.el.  are in
> \lisp\progmode dir.    Is it where it supposed to be ?

Yes, but see below.

> - I am using Windows NT 4.0 (w/ SP6).  Did set the Path and Enviroment as
> instructed.

Is Emacs the DJGPP port or the NTEmacs port?  What does
"M-x emacs-version RET" print?

I suspect a problem with long file names, since the original long name of 
the directory is lisp/progmodes/ (note the `s' at the end).  If you are 
using the DJGPP port of Emacs, from em2005b.zip, and if you unzipped the 
package with unzip32.exe or with djtar.exe, then lisp/progmode is 
correct, because DJGPP programs cannot see long file names on NT.  But if 
you are using the Windows port of Emacs (a.k.a. NTEmacs), or if you 
unzipped the .zip files with WinZip or some such, you will have trouble.

- Raw text -


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