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]

PATCH: Remove V2 library



This patch removes the V2 library.  It served us well, but it's number
is up.

The part of the patch that consists of all the V2 files going away is
not included here.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2001-02-04  Mark Mitchell  <mark@codesourcery.com>

	Remove V2 C++ library.
	* configure.in: Remove --enable-libstdcxx_v3 support.

2001-02-04  Mark Mitchell  <mark@codesourcery.com>

	* gcc/Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
	* gcc/configure.in: Remove --enable-libstdcxx_v3 support.
	* gcc/configure: Regenerated.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.88
diff -c -p -r1.88 configure.in
*** configure.in	2001/01/28 06:58:58	1.88
--- configure.in	2001/02/05 01:32:07
*************** if [ "${enable_gdbgui}" = "yes" ] ; then
*** 48,62 ****
  	host_libs="${host_libs} libgui"
  fi
  
! # Set up configure/Makefile variables if libstdc++-v3 is to be built.
! if [ "${enable_libstdcxx_v3}" = "yes" ] && test -d $srcdir/libstdc++-v3; then
!         libstdcxx_version="target-libstdc++-v3"
! 	# Don't use libstdc++-v3's flags to configure/build itself.
! 	libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) cat $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/libstdc++.INC 2>/dev/null || : ;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
! else
!         libstdcxx_version="target-libio target-libstdc++"
!         libstdcxx_flags='-isystem $$s/libstdc++ -isystem $$s/libstdc++/std -isystem $$s/libstdc++/stl -isystem $$s/libio -isystem $$r/$(TARGET_SUBDIR)/libio -L$$r/$(TARGET_SUBDIR)/libstdc++'
! fi
  
  # these tools are built for the host environment
  # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
--- 48,56 ----
  	host_libs="${host_libs} libgui"
  fi
  
! libstdcxx_version="target-libstdc++-v3"
! # Don't use libstdc++-v3's flags to configure/build itself.
! libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) cat $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/libstdc++.INC 2>/dev/null || : ;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
  
  # these tools are built for the host environment
  # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.594
diff -c -p -r1.594 Makefile.in
*** Makefile.in	2001/02/02 19:41:36	1.594
--- Makefile.in	2001/02/05 01:32:11
*************** site.exp: ./config.status Makefile
*** 2740,2746 ****
  # CFLAGS is set even though it's empty to show we reserve the right to set it.
  	@echo "set CFLAGS \"\"" >> ./tmp0
  	@echo "set CXXFLAGS \"-I$(objdir)/../$(target_subdir)libio -I\$$srcdir/../libg++/src -I\$$srcdir/../libio -I\$$srcdir/../libstdc++ -I\$$srcdir/../libstdc++/stl -L$(objdir)/../$(target_subdir)libg++ -L$(objdir)/../$(target_subdir)libstdc++\"" >> ./tmp0
! 	@echo "set HAVE_LIBSTDCXX_V3 @HAVE_LIBSTDCXX_V3@" >> ./tmp0
  # If newlib has been configured, we need to pass -B to gcc so it can find
  # newlib's crt0.o if it exists.  This will cause a "path prefix not used"
  # message if it doesn't, but the testsuite is supposed to ignore the message -
--- 2740,2746 ----
  # CFLAGS is set even though it's empty to show we reserve the right to set it.
  	@echo "set CFLAGS \"\"" >> ./tmp0
  	@echo "set CXXFLAGS \"-I$(objdir)/../$(target_subdir)libio -I\$$srcdir/../libg++/src -I\$$srcdir/../libio -I\$$srcdir/../libstdc++ -I\$$srcdir/../libstdc++/stl -L$(objdir)/../$(target_subdir)libg++ -L$(objdir)/../$(target_subdir)libstdc++\"" >> ./tmp0
! 	@echo "set HAVE_LIBSTDCXX_V3 1" >> ./tmp0
  # If newlib has been configured, we need to pass -B to gcc so it can find
  # newlib's crt0.o if it exists.  This will cause a "path prefix not used"
  # message if it doesn't, but the testsuite is supposed to ignore the message -
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.480
diff -c -p -r1.480 configure.in
*** configure.in	2001/01/28 01:50:04	1.480
--- configure.in	2001/02/05 01:32:16
*************** if test x$local_prefix = x; then
*** 151,173 ****
  	local_prefix=/usr/local
  fi
  
- # Build a new-libstdc++ system (ie libstdc++-v3)
- AC_MSG_CHECKING([for libstdc++ to install])
- AC_ARG_ENABLE(libstdcxx-v3,
- [  --enable-libstdcxx-v3 
- 			  enable libstdc++-v3 for building and installation],
-   [enable_libstdcxx_v3="$enableval"], [enable_libstdcxx_v3=yes])
- 
- if test x$enable_libstdcxx_v3 = xyes; then
-   AC_MSG_RESULT(v3)
-   HAVE_LIBSTDCXX_V3=1
-   ac_esn=1
- else
-   AC_MSG_RESULT(v2)
-   HAVE_LIBSTDCXX_V3=0
-   ac_esn=0
- fi
- 
  # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
  # passed in by the toplevel make and thus we'd get different behavior
  # depending on where we built the sources.
--- 151,156 ----
*************** else
*** 1599,1607 ****
  fi
  AC_SUBST(GXX_ABI_FLAG)
  
! AC_DEFINE_UNQUOTED(ENABLE_STD_NAMESPACE, $ac_esn,
    [Define to 1 if you want to enable namespaces (-fhonor-std) by default.])
- AC_SUBST(HAVE_LIBSTDCXX_V3)
  
  dnl Very limited version of automake's enable-maintainer-mode
  
--- 1582,1589 ----
  fi
  AC_SUBST(GXX_ABI_FLAG)
  
! AC_DEFINE_UNQUOTED(ENABLE_STD_NAMESPACE, 1,
    [Define to 1 if you want to enable namespaces (-fhonor-std) by default.])
  
  dnl Very limited version of automake's enable-maintainer-mode
  

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