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]

temporarily disabling --enable-c-cpplib


The library interface to cpplib is about to change dramatically, which
will break all the code that uses that interface.  I'll be keeping
cppmain and fix-header up to date, but I don't wish to deal with the C
and C++ front ends until all the dust settles.

Therefore, this patch disables the --enable-c-cpplib configure
option.  For the next few weeks it will not be possible to build cc1
with an integrated preprocessor.  I don't think anyone is actually
using this functionality, given that it's broken in several other
important ways right now.

zw

	* configure.in: Comment out --enable-c-cpplib stanza.
	* configure: Regenerate.

===================================================================
Index: configure.in
--- configure.in	2000/03/20 20:58:53	1.348
+++ configure.in	2000/03/30 22:20:09
@@ -225,16 +225,17 @@ if test x$enable_cpplib = xno; then
   cpp_main=cccp
 fi)
 
-# Link cpplib into the compiler proper, for C/C++/ObjC.
-AC_ARG_ENABLE(c-cpplib,
-[  --enable-c-cpplib       link cpplib directly into C and C++ compilers
-                          (EXPERIMENTAL) (implies --enable-cpplib).],
-if test x$enable_c_cpplib != xno; then
-  extra_c_objs="${extra_c_objs} libcpp.a"
-  extra_cxx_objs="${extra_cxx_objs} ../libcpp.a"
-  extra_c_flags="${extra_c_flags} -DUSE_CPPLIB=1"
-  cpp_main=cppmain
-fi)
+dnl Disable this for the moment; the library interface is changing.
+dnl # Link cpplib into the compiler proper, for C/C++/ObjC.
+dnl AC_ARG_ENABLE(c-cpplib,
+dnl [  --enable-c-cpplib       link cpplib directly into C and C++ compilers
+dnl                           (EXPERIMENTAL) (implies --enable-cpplib).],
+dnl if test x$enable_c_cpplib != xno; then
+dnl  extra_c_objs="${extra_c_objs} libcpp.a"
+dnl  extra_cxx_objs="${extra_cxx_objs} ../libcpp.a"
+dnl  extra_c_flags="${extra_c_flags} -DUSE_CPPLIB=1"
+dnl  cpp_main=cppmain
+dnl fi)
 
 # Enable Multibyte Characters for C/C++
 AC_ARG_ENABLE(c-mbchar,

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