From: Ian Chapman Newsgroups: comp.os.msdos.djgpp Subject: Re: Please help, gxx is giving me grief Date: Tue, 24 Nov 1998 14:22:18 -0500 Organization: Nortel Message-ID: <365B076A.549AE322@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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.06 [en] (Win95; I) Lines: 28 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 > 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.