Message-ID: From: "Andris Pavenis" To: Eli Zaretskii Date: Mon, 11 May 1998 20:14:31 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: / and \ in gcc2.8.1 CC: djgpp AT delorie DOT com References: In-reply-to: Precedence: bulk Date sent: Mon, 11 May 1998 18:47:42 +0300 (IDT) Subject: Re: / and \ in gcc2.8.1 > > For dependencies is looks that slightly modifying 2 files cccp.c and > > prefix.c is enough: > > That's okay, but I would suggest to grep the sources once again (unless > you already did that) to make sure there are no more '/' in other places > which aren't covered by these two changes. DOS works Ok with both '\\' and '/'. So perhaps it's enough to fix the names which appears in output. Defining DIR_SEPARATOR='\\' forces gcc to understand correctly both separators, but '\\' appears in output what I don't want. Problem with TMPDIR is fixed so. Perhaps output produced by gcc option '-v' is not dangerous as it is used for diagnostic purposes only, so there is no need to fix it. The second place is output of cpp.exe (names of primary file and included ones). The names of these files is used to generate dependencies and also for debug information when option -gstabs is used. So I think we should provide that only '/' appears in output. Patching prefix.c and cccp.c provides this. I think that should be enough. > > > If You want I can send modified gcc.exe and cpp.exe (zip archive about 140K) > > Thanks, but I don't need them (I haven't installed 2.8.1 yet). I think > uploading the corrected zip files to SimTel is really important, though. > Only some days are gone since upload of previous archives. Perhaps we must give some time for other problems to appear. For gcc I'm using as separator practically only '/' so I didn't notice the problems we are discussing now about. If You are going to install gcc-2.8.1 then fixed executables are in archive at URL http://www.lanet.lv/~pavenis/gccfix.zip Andris