www.delorie.com/archives/browse.cgi | search |
From: | "Peter Remmers" <pitti AT tfh-berlin DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Please help, gxx is giving me grief |
Date: | Tue, 24 Nov 1998 18:47:11 +0100 |
Organization: | TFH-Berlin (Berlin, Germany) |
Lines: | 28 |
Message-ID: | <73erfm$806$1@idy05.tfh-berlin.de> |
References: | <73enge$bn3$1 AT oak DOT prod DOT itd DOT earthlink DOT net> |
NNTP-Posting-Host: | ip099167.tfh-berlin.de |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |