[PATCH]: Don't build testsuite during normal build on Cygwin

Corinna Vinschen vinschen@redhat.com
Mon Jan 20 19:36:00 GMT 2003


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



More information about the Gcc-patches mailing list