From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: eliz@gnu.org Cc: binutils@sourceware.cygnus.com Subject: Re: DOS/Windows-related changes in the include subdirectory Date: Mon, 06 Sep 1999 10:31:00 -0000 Message-id: <19990906173116.10277.qmail@daffy.airs.com> References: <199909060814.EAA23317@mescaline.gnu.org> <19990906150939.10027.qmail@daffy.airs.com> <199909061722.NAA15568@mescaline.gnu.org> X-SW-Source: 1999-09/msg00052.html Date: Mon, 6 Sep 1999 13:22:25 -0400 From: Eli Zaretskii > 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