From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with GCC Date: 30 Jul 2002 03:58:34 GMT Organization: Cornell University Lines: 37 Sender: asu1 AT cornell DOT invalid (on pool-141-149-208-123.syr.east.verizon.net) Message-ID: References: NNTP-Posting-Host: pool-141-149-208-123.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1028001514 14703 141.149.208.123 (30 Jul 2002 03:58:34 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 30 Jul 2002 03:58:34 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "WHITING, Edward" wrote in news:F6A2704E4FFE1641900478953444A5EA0F2A78 AT minnie DOT igs DOT vic DOT edu DOT au: > I am using the GCC compiler, with RHIDE as the front end program. I > like it very much, however, when I try to compile a very simple C++ > program, GCC sends an error message saying that it cannot find > streambuf.h, which iostream.h needs. There is a copy of streambuf.h in > the "include" folder as well as the "lang" folder, where iostream.h is > located. I receive the message saying "error: streambuf.h: No such > file or directory (ENOENT)". Do you have any suggestions? you neglected to mention some key information such as the version of gcc you are using and the platform you are using. did you extract the files in windows 9x using something like winzip? if so, the short name of streambuf.h would be something like streamb~1.h. that might cause problems if you then run gcc in plain DOS (as opposed to the command prompt). note that the old-style headers are now deprecated. you should use rather than , and explicitly pull in the names from the std namespace (esp if you are using gcc 3.x, but still good practice even with the older versions). without some more information, there isn't much else that comes to my mind. did you try compiling the same file from the command line? what is the extension of your source file? Sinan. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov