This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

.pch -> .gch for C++


More missing pieces, this time for C++.

Bootstrapped & tested on powerpc-darwin.

-- 
- Geoffrey Keating <geoffk at apple dot com>

===File ~/patches/gcc-gchsuffixcp.patch=====================
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.3250
diff -u -p -u -p -r1.3250 ChangeLog
--- ChangeLog	8 Mar 2003 21:12:23 -0000	1.3250
+++ ChangeLog	9 Mar 2003 00:34:23 -0000
@@ -1,3 +1,7 @@
+2003-03-08  Geoffrey Keating  <geoffk at apple dot com>
+
+	* lang-specs.h (c++-header): Change .pch to .gch.
+
 2003-03-08  Neil Booth  <neil at daikokuya dot co dot uk>
 
 	* cp-tree.h (cxx_init): Update prototype.
Index: lang-specs.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/lang-specs.h,v
retrieving revision 1.58
diff -u -p -u -p -r1.58 lang-specs.h
--- lang-specs.h	2 Mar 2003 14:09:31 -0000	1.58
+++ lang-specs.h	9 Mar 2003 00:34:23 -0000
@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA.  */
       cc1plus %{save-temps:-fpreprocessed %b.ii}\
 	      %{!save-temps:%(cpp_unique_options) %{!no-gcc:-D__GNUG__=%v1}}\
 	%(cc1_options) %2 %{+e1*}\
-        -o %g.s %{!o*:--output-pch=%i.pch} %W{o*:--output-pch=%*}%V}}}",
+        -o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*}%V}}}",
      CPLUSPLUS_CPP_SPEC},
   {"@c++",
     "%{E|M|MM:cc1plus -E %{!no-gcc:-D__GNUG__=%v1}\
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]