This is the mail archive of the
mailing list for the GCC project.
Re: Directory separator patches part 2
- To: law at cygnus dot com
- Subject: Re: Directory separator patches part 2
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Wed, 31 Mar 1999 09:03:54 -0500
- cc: egcs-patches at egcs dot cygnus dot com
On Wed, 31 Mar 1999 02:12:05 -0700, Jeffrey A Law wrote:
> In message <199903271727.RAA16808@out5.ibm.net>you write:
> > --Message-Boundary-6468
> > Content-type: text/plain; charset=US-ASCII
> > Content-transfer-encoding: 7BIT
> > Content-description: Mail message body
> > I've updated the files mentioned by Richard Henderson to handle the
> > changes in my previous dir. separator patch.
> > Changelog:
> > * gcc/config/i386/xm-mingw32.h: Updated copyright. Set
> > DIR_SEPARATOR_2 to '/'. Define HAVE_DOS_BASED_FILE_SYSTEM.
> > * gcc/config/i386/xm-os2.h: Likewise.
> > * gcc/config/winnt/xm-winnt.h: Likewise.
> > * gcc/config/i386/xm-dos.h: Likewise except added copyright instead of
> > updated copyright.
> > Attached is the patch.
>Don't you also need to update cppfiles.c since it groks paths in a manner
>simlar to cccp.
>In fact, it is a requirement that if you change cccp, you should also make
>corresponding changes to cpplib. We don't want to have to go back and do
>a merge of changes from cccp.c -> cpplib because we forgot to update cpplib
>as we made changes to cccp.
cpplib already understands DOS paths, it should just be a matter of
adjusting that code to the new scheme.