delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/04/01:30:37

Message-ID: <387184FD.26FB5999@imrworldwide.com>
From: Colin Forster <colin AT imrworldwide DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ compile problem (ENOENT error)
References: <38716349 DOT F25C2016 AT tc DOT umn DOT edu>
Lines: 19
Date: Tue, 04 Jan 2000 16:28:29 +1100
NNTP-Posting-Host: 203.36.43.136
X-Complaints-To: abuse AT telstra DOT net
X-Trace: nsw.nnrp.telstra.net 946963673 203.36.43.136 (Tue, 04 Jan 2000 16:27:53 EST)
NNTP-Posting-Date: Tue, 04 Jan 2000 16:27:53 EST
Organization: Customer of Telstra Big Pond Direct
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

gcc is a C compiler whereas hello.cc is a C++ program - use gxx instead.

dd wrote:

> I just downloaded djgpp for NT4, but couldn't get C++ compiler to work.
> I tried to compile a little hello.cc test program, but always got this
> error:
> In file included from hello.cc:1:
> d:/gcc/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
> (ENOENT)
>
> streambuf.h is in d:/gcc/lang/cxx.  When I search for it in
> d:/gcc/lang/, NT always find it, but when I search for it in
> d:/gcc/lang/cxx, NT returns file not found.  The C compiler works fine,
> so it's not a long file name problem, is it?
> Any help is greatly appreciated.



- Raw text -


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