This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DOS/Windows-related changes in the include subdirectory


   Date: Mon, 6 Sep 1999 13:22:25 -0400
   From: Eli Zaretskii <eliz@gnu.org>

   > It might be nice to use the same set of macros that gcc uses, rather
   > than invent our own.  In gcc.c I see things like PATH_SEPARATOR,
   > DIR_SEPARATOR, DIR_SEPARATOR_2, IS_DIR_SEPARATOR,
   > HAVE_DOS_BASED_FILESYSTEM.

   Sorry, I didn't know GCC was special in this aspect.  I used the names
   used by other packages, like Texinfo, Web2C and some others.

If texinfo uses those macros, then they are fine with me.  I don't
know where the current version of texinfo lives.

   If you want me to change the definitions, please send me the
   definitions from the GCC sources (I don't have them installed).
   Please also tell me what to do in case some of the definitions I used
   don't have any equivalents in GCC (the above names seem to indicate
   that e.g. IS_ABSOLUTE and FILENAME_CMP aren't used by GCC).

For IS_ABSOLUTE, gcc uses specific code which tests
HAVE_DOS_BASED_FILESYSTEM.  I don't think gcc needs to compare file
names.

Ian

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]