This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cygwin POSIX pathname fix
- To: Chris Faylor <cgf at cygnus dot com>
- Subject: Re: cygwin POSIX pathname fix
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 20 Apr 1999 11:12:07 -0500 (CDT)
- cc: egcs-patches at egcs dot cygnus dot com
On Mon, 19 Apr 1999, Chris Faylor wrote:
> On Mon, Apr 19, 1999 at 08:13:17PM -0500, Mumit Khan wrote:
>
> The patch looks ok but I don't think it goes far enough. It looks like
> if a user specifies an absolute MS-DOS filename on the command line or
> in an include spec it will not be converted to POSIX format and it
> should be.
I should've made that clear, sorry. This patch is just a much needed fix
for the current code to *not* munge pathnames unnecessarily when these
come from the environment variables; the patch to actually handle
user-supplied names on the command line will be a separate patch coming
soon (hopefully before the freeze!). And that's the reason for my
statement:
> >To do the pathname conversion correctly however, we need to insert Cygwin
> >specific pathname handling code in the GCC driver.
I'd like to get this in first before trying to add Cygwin specific code to
the language driver/cpp that the EGCS maintainers may object to.
With this patch, as long as you use POSIX pathnames, the compiler will
too. A small, but important, step in the right direction.
Regards,
Mumit