From: pavenis AT lanet DOT lv To: DJ Delorie , djgpp AT delorie DOT com Date: Thu, 11 May 2000 19:44:49 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: standard libraries Message-ID: <391B0DB1.15906.236500@localhost> In-reply-to: <200005102251.SAA22665@envy.delorie.com> References: <3919f44a DOT 104678014 AT news DOT latech DOT edu> (jdo005 AT spamblockerbeta DOT latech DOT edu) X-mailer: Pegasus Mail for Win32 (v3.12c) 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 10 May 2000, at 18:51, DJ Delorie wrote: > > > My current problem is ... > > Because DOS doesn't have case-sensitive file systems, you can't have > (for example) string.h and String.h at the same time. So, what we did > was rename the ones with upper case to have an underscore, like > _String.h. And the C++ headers are in lang/cxx/ (_String.h is in > lgp2952b.zip), not include/. Try with gcc-2.95.2: echo '#include ' | gcc -x c++ -E - | less echo '#include ' | gcc -x c++ -E - | less and in first case You'll get lang/cxx/_String.h and in second include/string.h (unless there is some installation problem) as filename translation rules are specified in files with name header.gcc (used when command line option -remap is specified for cpp.exe) However I recommend use instead of libg++ String class > > Note, however, that the current gcc also allows for for the > C++ string class. > > > I've been lurking here a while and you all seem like a great bunch > > of guys & gals. Andris