www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/24/12:20:38.1

From: "Vadim Pokotilov" <vpoko AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Please help, gxx is giving me grief
Date: Tue, 24 Nov 1998 11:39:28 -0500
X-ELN-Insert-Date: Tue Nov 24 08:45:13 1998
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
Organization: EarthLink Network, Inc.
X-Posted-Path-Was: not-for-mail
Lines: 20
NNTP-Posting-Host: 1cust223.tnt5.bos2.da.uu.net
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
X-ELN-Date: 24 Nov 1998 16:39:42 GMT
Message-ID: <73enge$bn3$1@oak.prod.itd.earthlink.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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