This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Don't name the internal preprocessor "cpp"
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: Patch: Don't name the internal preprocessor "cpp"
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 26 Jul 2000 14:54:00 +0200
- CC: gcc-patches at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20000725142858.F26565@wolery.cumb.org>
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)