www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/11/04:55:31

Date: Fri, 11 Aug 2000 10:49:21 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
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: <eqj6ps4b935kt1gtnoiss7j1rn9r5jjnvh@4ax.com>
Message-ID: <Pine.A41.4.05.10008111044570.50304-100000@ieva06.lanet.lv>
MIME-Version: 1.0
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


On Fri, 11 Aug 2000, Damian Yerrick wrote:

> On Fri, 11 Aug 2000 00:25:17 +0100, Jason Green
> <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote:
> 
> >"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> 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 <iostream>, 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 <strmbuf.h>
> Make streambuf.h one line: #include <strmbuf.h>
> 
> 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 <streambuf.h>'. 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019