Patch: Don't name the internal preprocessor "cpp"
Toon Moene
toon@moene.indiv.nluug.nl
Wed Jul 26 05:58:00 GMT 2000
Zack Weinberg wrote:
> This patch changes the specs and the Makefiles so that the internal
> executable is named "cpp0" (or tradcpp0, for -traditional). The 0 is by
> analogy with cc1. The two programs now cannot be confused.
Note that f/lang-specs.h has *two* occurrences of `tradcpp' (even though
you don't like it :-):
> ===================================================================
> Index: f/lang-specs.h
> --- f/lang-specs.h 2000/07/13 07:14:12 1.22
> +++ f/lang-specs.h 2000/07/25 21:23:15
> @@ -28,7 +28,7 @@ the Free Software Foundation, 59 Temple
> {".fpp", "@f77-cpp-input"},
> {".FPP", "@f77-cpp-input"},
> {"@f77-cpp-input",
> - "tradcpp -lang-fortran %(cpp_options) %{!M:%{!MM:%{!E:%{!pipe:%g.f |\n\
> + "tradcpp0 -lang-fortran %(cpp_options) %{!M:%{!MM:%{!E:%{!pipe:%g.f |\n\
> f771 %{!pipe:%g.f} %(cc1_options) %{!S:-o %{|!pipe:%g.s} |\n\
> as %(asm_options) %{!pipe:%g.s} %A }}}}}\n"},
> {".r", "@ratfor"},
$ grep tradcpp lang-specs.h
"tradcpp -lang-fortran %(cpp_options) %{!M:%{!MM:%{!E:%{!pipe:%g.f
|\n\
"tradcpp -lang-fortran %(cpp_options) /dev/null \n\
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
More information about the Gcc-patches
mailing list