From: "Vadim Pokotilov" Newsgroups: comp.os.msdos.djgpp Subject: Re: Please help, gxx is giving me grief Date: Tue, 24 Nov 1998 13:37:07 -0500 X-ELN-Insert-Date: Tue Nov 24 11:05:34 1998 References: <73enge$bn3$1 AT oak DOT prod DOT itd DOT earthlink DOT net> <73erfm$806$1 AT idy05 DOT tfh-berlin DOT de> X-Newsreader: Microsoft Outlook Express 4.71.1712.3 Organization: EarthLink Network, Inc. X-Posted-Path-Was: not-for-mail Lines: 35 NNTP-Posting-Host: 1cust55.tnt6.bos2.da.uu.net X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 X-ELN-Date: 24 Nov 1998 18:37:23 GMT Message-ID: <73eud3$50e$1@ash.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 I did the LFN=y and it works. Just wanted to say thanks. Peter Remmers wrote in message <73erfm$806$1 AT idy05 DOT tfh-berlin DOT de>... >>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/ > > >I assume this is a long file name problem. >"streambuf.h" has 9 characters (without extension), so unless you >turn on LFN support in your djgpp.env with LFN=y it will only >see the crippled "stream~1.h". >If you use a DOS unzipper which will truncate the filenames instead of >crippling them this would also work - then the file would be "streambu.h" >which is ok if gcc lokks for a "streambuf.h". >Alternatively you can tweak Windows by putting a statement into the >registry which tells Windows not to use a tilde. > >Goto Hkey_Local_Machine\System\CurrentControlSet\Control\FileSystem >Add the value NameNumericTail=0 > >However you would have to re-unzip all the packages - this setting affects >only newly created files. > >Peter Remmers > > >