[Patch] Disable libgcj for s390-linux in GCC 3.0.x

Andreas Jaeger aj@suse.de
Sun Aug 12 09:00:00 GMT 2001


Since there's currently no way to bootstrap s390-linux on the GCC 3.0x
branch with libgcj enabled (both libffi and boehm-gc do not work and
boehm-gc include files are needed in libjava - I've reported this on
gcc-bugs), we should disable libgcj completly on the branch.

With this patch applied I managed to bootstrap/regtested GCC 3.0.x
successfully on s390 configured with:

--host=s390-suse-linux --enable-threads=posix --enable-long-long \
--prefix=/opt/experimental --with-local-prefix=/usr/local \
--enable-languages=c,c++,f77,objc,java --disable-nls --enable-shared

I've send testresults for this to gcc-testresults.

For the trunk we libffi is not yet working on S390 but boehm-gc has
been ported.  I'll try to come up tomorrow with an appropriate patch
for the trunk.

Mark, is this ok for the 3.0 branch?

Andreas

2001-08-12  Andreas Jaeger  <aj@suse.de>

	* configure.in: Disable libgcj on s390-linux targets.


============================================================
Index: configure.in
--- configure.in	2001/07/12 17:51:50	1.90.2.16
+++ configure.in	2001/08/12 12:55:44
@@ -15,7 +15,7 @@
 ## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi).  
 
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-#   1999, 2000 Free Software Foundation, Inc.
+#   1999, 2000, 2001 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -757,6 +757,12 @@
     if [ x${is_cross_compiler} != xno ] ; then
          target_configdirs="${target_configdirs} target-libstub target-cygmon"
     fi
+    ;;
+  s390*-*-linux*)
+    # linux has rx in libc
+    skipdirs="$skipdirs target-librx"
+    # The libffi port is not yet in the GCC tree, boehm-gc does not work.
+    noconfigdirs="$noconfigdirs ${libgcj}"
     ;;
   *-*-linux*)
     # linux has rx in libc

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list