New bootstrap failures with remaining clk_* uses

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Jul 1 04:06:00 GMT 2003


Neil,

Your recent patch broke bootstrap on at least solaris2 and probably
several other platforms because you didn't catch uses of clk_* in the
config directory.  E.g. I needed this on solaris2:

diff -rup orig/egcc-CVS20030630/gcc/config/sol2.h egcc-CVS20030630/gcc/config/sol2.h
--- orig/egcc-CVS20030630/gcc/config/sol2.h	2003-06-16 09:44:20.000000000 -0400
+++ egcc-CVS20030630/gcc/config/sol2.h	2003-06-30 23:54:10.060239000 -0400
@@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA.  */
 	/* For C++ we need to add some additional macro	\
 	   definitions required by the C++ standard	\
 	   library.  */					\
-	if (c_language == clk_cplusplus)		\
+	if (c_dialect_cxx())				\
 	  {						\
 	    builtin_define ("_XOPEN_SOURCE=500");	\
 	    builtin_define ("_LARGEFILE_SOURCE=1");	\

I see about 15-20 others remain.  Would you please fix them all?

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc mailing list