home *** CD-ROM | disk | FTP | other *** search
- Fri Nov 5 03:52:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
-
- * gcc.c (lookup_compiler): Handle case-insensitive filename
- extensions for DOS-based systems.
- (HAVE_DOS_BASED_FILE_SYSTEM): Fix typo.
- * i386/xm-djgpp.h: Likewise.
-
- Index: gcc-2.95.2/gcc/gcc.c
- ===================================================================
- RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/gcc.c,v
- retrieving revision 1.2
- diff -u -3 -p -r1.2 gcc.c
- --- gcc-2.95.2/gcc/gcc.c 1999/11/05 05:39:18 1.2
- +++ gcc-2.95.2/gcc/gcc.c 1999/11/06 06:32:42
- @@ -2247,7 +2247,7 @@ find_a_file (pprefix, name, mode)
- /* Determine the filename to execute (special case for absolute paths). */
-
- if (IS_DIR_SEPARATOR (*name)
- -#ifdef HAVE_DOS_BASED_FILESYSTEM
- +#ifdef HAVE_DOS_BASED_FILE_SYSTEM
- /* Check for disk name on MS-DOS-based systems. */
- || (name[0] && name[1] == ':' && IS_DIR_SEPARATOR (name[2]))
- #endif
- @@ -5103,7 +5103,7 @@ main (argc, argv)
- standard_startfile_prefix on that as well. */
- if (IS_DIR_SEPARATOR (*standard_startfile_prefix)
- || *standard_startfile_prefix == '$'
- -#ifdef HAVE_DOS_BASED_FILESYSTEM
- +#ifdef HAVE_DOS_BASED_FILE_SYSTEM
- /* Check for disk name on MS-DOS-based systems. */
- || (standard_startfile_prefix[1] == ':'
- && (IS_DIR_SEPARATOR (standard_startfile_prefix[2])))
- @@ -5459,7 +5459,7 @@ lookup_compiler (name, length, language)
- (!strcmp (cp->suffix, "-") && !strcmp (name, "-"))
- || (strlen (cp->suffix) < length
- /* See if the suffix matches the end of NAME. */
- -#ifdef OS2
- +#if defined (OS2) ||defined (HAVE_DOS_BASED_FILE_SYSTEM)
- && ((!strcmp (cp->suffix,
- name + length - strlen (cp->suffix))
- || !strpbrk (cp->suffix, "ABCDEFGHIJKLMNOPQRSTUVWXYZ"))
- Index: gcc-2.95.2/gcc/config/i386/xm-djgpp.h
- ===================================================================
- RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/config/i386/xm-djgpp.h,v
- retrieving revision 1.1.1.1
- diff -u -3 -p -r1.1.1.1 xm-djgpp.h
- --- gcc-2.95.2/gcc/config/i386/xm-djgpp.h 1999/11/05 01:09:55 1.1.1.1
- +++ gcc-2.95.2/gcc/config/i386/xm-djgpp.h 1999/11/06 00:04:09
- @@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */
- #define DIR_SEPARATOR_2 '\\'
-
- /* Allow test for DOS drive names. */
- -#define HAVE_DOS_BASED_FILESYSTEM
- +#define HAVE_DOS_BASED_FILE_SYSTEM
-
- #define LIBSTDCXX "-lstdcxx"
-
-