Date: Fri, 11 Aug 2000 10:49:21 +0200 (WET) From: Andris Pavenis To: djgpp AT delorie DOT com Subject: Re: DJGPP neither running on ms-dos 6.2 nor on caldera-dos 7.03 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 11 Aug 2000, Damian Yerrick wrote: > On Fri, 11 Aug 2000 00:25:17 +0100, Jason Green > wrote: > > >"Eli Zaretskii" wrote: > > > >> But if you can suggest a reasonable DJGPP-specific solution that would > >> reliably work, please do. Nobody enjoys answering the FAQs about > >> stream~1.h here, we just didn't find any way of solving that better > >> than what's already in the docs and the FAQ. > > > >Most of these FAQs probably stem from #include , which has > >streambuf.h nested in it. How about making a copy of streambuf.h with > >an 8.3 filename and editing the nested include within iostream.h? > > One way to do it: > > Rename streambuf.h to strmbuf.h > Edit iostream.h to #include > Make streambuf.h one line: #include > > What will that break? > Better way is to add translation from streambuf.h to strmbuf.h in lang/cxx/header.gcc. As the option -remap is used cpp will be able to find a file when one writes '#include '. But there are many more ... I only renamed files in port of gcc-2.95.2 when I had file naming conflict in plain DOS. Andris