Patch to update default_compilers
Joseph S. Myers
jsm28@cam.ac.uk
Fri Dec 1 07:52:00 GMT 2000
This patch adds various suffixes recognised by GCC front ends to
default_compilers in gcc.c so that GCC can recognise them when built
without the relevant front end.
Bootstrapped with no regressions on i686-pc-linux-gnu. OK to commit?
2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
.FPP.
--- gcc.c.orig Wed Nov 29 00:33:06 2000
+++ gcc.c Fri Dec 1 11:31:11 2000
@@ -709,12 +709,13 @@ static struct compiler default_compilers
were not present when we built the driver, we will hit these copies
and be given a more meaningful error than "file not used since
linking is not done". */
- {".m", "#Objective-C"},
- {".cc", "#C++"}, {".cxx", "#C++"}, {".cpp", "#C++"},
- {".c++", "#C++"}, {".C", "#C++"},
+ {".m", "#Objective-C"}, {".mi", "#Objective-C"},
+ {".cc", "#C++"}, {".cxx", "#C++"}, {".cpp", "#C++"}, {".cp", "#C++"},
+ {".c++", "#C++"}, {".C", "#C++"}, {".ii", "#C++"},
{".ads", "#Ada"}, {".adb", "#Ada"}, {".ada", "#Ada"},
- {".f", "#Fortran"}, {".for", "#Fortran"}, {".F", "#Fortran"},
- {".fpp", "#Fortran"}, {".r", "#Ratfor"},
+ {".f", "#Fortran"}, {".for", "#Fortran"}, {".fpp", "#Fortran"},
+ {".F", "#Fortran"}, {".FOR", "#Fortran"}, {".FPP", "#Fortran"},
+ {".r", "#Ratfor"},
{".p", "#Pascal"}, {".pas", "#Pascal"},
{".ch", "#Chill"}, {".chi", "#Chill"},
{".java", "#Java"}, {".class", "#Java"},
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-patches
mailing list