From: "Bob Chapman" Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc-3.x and file suffix .r (RATFOR) bug? Date: Mon, 21 Oct 2002 14:11:14 -0500 Organization: CompuServe Interactive Services Lines: 54 Message-ID: References: <200210180829 DOT 05634 DOT pavenis AT lanet DOT lv> NNTP-Posting-Host: 164.58.114.167 X-Trace: nntp-m01.news.aol.com 1035227491 8029 164.58.114.167 (21 Oct 2002 19:11:31 GMT) X-Complaints-To: newsmaster AT compuserve DOT com NNTP-Posting-Date: Mon, 21 Oct 2002 19:11:31 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Andris" wrote in message news:200210180829 DOT 05634 DOT pavenis AT lanet DOT lv... > On Thursday 17 October 2002 22:10, Bob Chapman wrote: > > Starting with the DJGPP ports of gcc-3.x, file names with suffix '.r' > > (RATFOR) are no longer processed correctly by g77 -- the suffix is > > recognized and the RATFOR translator is invoked but the translated output > > is 'dumped' to stdout (rather than being redirected to the compiler input) > > and g77 tries to compile an empty file. I have verified that the cygwin > > and mingw ports gcc-3.x also exhibit the same behavior but have not yet had > > time to install gcc-3.x and check this problem under any other > > environments. > > > > Does anyone know if this problem is only associated with the Win9X ports of > > gcc-3.x or if it is a generic GCC 3.X problem? So far I have not been able > > to find any bug reports or any notice that the feature had been removed. > > I think it's unlikely a problem of DJGPP. One could try to test for example > under Linux. I don't know. Also You could run GCC with option -v and try > figure out what is wrong. > > Andris Followed your suggestion to use '-v' and got these results: ---------- g77 version 2.95.3 20010315/djgpp (release) . . . Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs gcc version 2.95.3 20010315/djgpp (release) c:/djgpp/bin/ratfor.exe -v -o c:\windows\temp\ccKLY2yb.f test.r ---------- Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.2/specs Configured with: /devel/gcc32/gnu/gcc-3.2/configure i586-pc-msdosdjgpp . . . Thread model: single gcc version 3.2 c:/djgpp/bin/ratfor.exe -v test.r -o c:\windows\temp/ccDRh6nH.f --------- Note a difference in the invocation of ratfor, specifically the '/' instead of '\' preceding the name of the temporary file. 2.95.3 "-o c:\windows\temp\ccKLY2yb.f" 3.2 "-o c:\windows\temp/ccDRh6nH.f" [As is probably obvious, I have TEMP=c:\windows\temp] ------