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]

Objective-C PCH broken on non-darwinn hosted darwinn targets


This fixes Objective-C PCH on non-darwin hosted darwin targets.

2007-03-26  Mike Stump  <mrs@apple.com>

	* config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Add
	objective-c-header, objective-c++-header and objc++-cpp-output
	support.
	* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Likewise.

Doing diffs in .:
--- ./config/i386/darwin.h.~1~	2007-03-12 19:02:53.000000000 -0700
+++ ./config/i386/darwin.h	2007-03-26 17:17:48.000000000 -0700
@@ -87,7 +87,9 @@ Boston, MA 02110-1301, USA.  */
 #define DARWIN_MINVERSION_SPEC				\
  "%{!m64|fgnu-runtime:10.4;				\
     ,objective-c|,objc-cpp-output:10.5;			\
+    ,objective-c-header:10.5;				\
     ,objective-c++|,objective-c++-cpp-output:10.5;	\
+    ,objective-c++-header|,objc++-cpp-output:10.5;	\
     :10.4}"
 
 #undef SUBTARGET_EXTRA_SPECS
--- ./config/rs6000/darwin.h.~1~	2007-03-20 19:06:59.000000000 -0700
+++ ./config/rs6000/darwin.h	2007-03-26 17:14:59.000000000 -0700
@@ -125,7 +125,9 @@
 #define DARWIN_MINVERSION_SPEC					\
   "%{m64:%{fgnu-runtime:10.4;					\
 	   ,objective-c|,objc-cpp-output:10.5;			\
+	   ,objective-c-header:10.5;				\
 	   ,objective-c++|,objective-c++-cpp-output:10.5;	\
+	   ,objective-c++-header|,objc++-cpp-output:10.5;	\
 	   :10.4};						\
      shared-libgcc:10.3;					\
      :10.1}"
--------------


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