This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
temporarily disabling --enable-c-cpplib
- To: gcc-patches at gcc dot gnu dot org
- Subject: temporarily disabling --enable-c-cpplib
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Thu, 30 Mar 2000 14:28:12 -0800
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,