This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[PATCH]: Don't build testsuite during normal build on Cygwin
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 20 Jan 2003 20:36:08 +0100
- Subject: [PATCH]: Don't build testsuite during normal build on Cygwin
Hi,
when building on Cygwin a full toolchain including libstdc++-v3 as well
as winsup, the build fails in libstdc++-v3/testsuite since at the time
when the testsuite application should be build, the winsup directory
build isn't available yet. Skipping that part of the build results in
sucessfully building libstdc++-v3 and Cygwin in the same run.
The following patch will do it:
2003-01-20 Corinna Vinschen <vinschen@redhat.com>
* configure.in: Don't build testsuite application when building
on Cygwin.
* configure: Regenerate.
Index: libstdc++-v3/configure.in
===================================================================
RCS file: /cvs/cvsfiles/gnupro/libstdc++-v3/configure.in,v
retrieving revision 1.1
diff -u -p -r1.1 configure.in
--- configure.in 2002/11/27 01:04:22 1.1
+++ configure.in 2003/01/20 14:21:08
@@ -331,6 +331,13 @@ else
fi
AC_SUBST(LIBSUPCXX_PICFLAGS)
+case "$target" in
+ *-cygwin*)
+ GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
+ GLIBCPP_BUILD_ABI_CHECK_FALSE=
+ ;;
+esac
+
# Generate the various Makefiles, include files, and scripts.
# NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
# and libsupc++/Makefile.am so that multilib installs will end up
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com