delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/24/15:20:18

From: Ian Chapman <ichapman AT nt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Please help, gxx is giving me grief
Date: Tue, 24 Nov 1998 14:52:21 -0500
Organization: Nortel
Lines: 28
Message-ID: <365B0E75.D62E7DDD@nt.com>
References: <73enge$bn3$1 AT oak DOT prod DOT itd DOT earthlink DOT net>
NNTP-Posting-Host: bcarib90.ca.nortel.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.06 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
	so not finding the .h.  Is djgpp.env set up per instructions?  There
are some files in gnu/28.1 that are worth a read if you have just moved
up from 2.72.  I had a problem there that was just as basic when I moved
up to 2.81 and there I found the answer.

		Regards Ian.

Vadim Pokotilov wrote:
> 
> Is there an environment variable I must set if I plan to use C++? I can
> compile C programs but not C++ programs (even when I use gxx). For example,
> I create a file named foo.cc and put this into it
> 
> #include <iostream.h>
> int main()
> {
> cout << "This is a test\n";
> }
> 
> then I exit to the DOS prompt and type: "gxx foo.cc" it gives me:
> In file included from foo.cc:1:
> c:/djgpp/lang/cxx/iostream.h:31: c:/djgpp/include/streambuf.h: No such file
> or directory (ENOENT)
> 
> However, there IS a streambuf.h in c:/djgpp/include/
> 
> Any help would be appreciated.

- Raw text -


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