From: Hoang Duc Minh Newsgroups: comp.os.msdos.djgpp Subject: Re: Can not compile C++ program(???) Date: Fri, 09 Jun 2000 15:48:34 +0200 Organization: University of Heidelberg, Germany Lines: 32 Message-ID: <3940F5B2.B34F7E@iwr.uni-heidelberg.de> References: <393F68C7 DOT 910CC285 AT iwr DOT uni-heidelberg DOT de> NNTP-Posting-Host: gregory.iwr.uni-heidelberg.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.urz.uni-heidelberg.de 960554525 5883 129.206.108.70 (9 Jun 2000 12:42:05 GMT) X-Complaints-To: usenet AT news DOT urz DOT uni-heidelberg DOT de NNTP-Posting-Date: 9 Jun 2000 12:42:05 GMT X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks, I have solved the problem. NT do not support long file name for DOS program. I have installed long file name API and now it work. Damian Yerrick wrote: > On Thu, 08 Jun 2000 11:35:03 +0200, Hoang Duc Minh > wrote: > > >I just set up DJGPP on my NT box. > > I smell trouble. > > >I can not compile C++ program using gcc/gpp. The error messages is : > >"d://djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or > >directory" > >with command "gpp -o test1.exe test.cpp" althouh the file > >"streambuf.h" is in "d://djgpp/lang/cxx". > > You used WinZip or some other 32-bit unzipper, didn't you? NT has > this bug of not providing the long filename API to DOS programs. > (All DOS can see is "stream~1.h".) Try the Info-ZIP unzipper instead. > > -- > Damian Yerrick > "I refuse to listen to those who refuse to listen to reason." > See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html > > This is McAfee VirusScan. Add these two lines to your signature to > prevent the spread of signature viruses. http://www.mcafee.com/