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]

More top-level configure.in changes



I recently disabled libgcj builds for almost all targets.
Unfortunately, the target list in configure.in is not comprehensive
and so these libraries were being built for platforms like sparc
solaris when they shouldn't have been.  This patch adds a *-*-* case
to the target switch to disable libgcj builds.

Alex's original intent was to disable libgcj by default until the
ABI's were compatible.  I didn't realize this when I submitted my last
configure.in patch.  This patch reverts enabling the library builds
for x86 and alpha linux.

Ok to commit?

2000-12-10  Anthony Green  <green@redhat.com>
	
	* configure.in: Disable libgcj for any target not specifically
 	listed.  Disable libgcj for x86 and Alpha Linux until compatible
 	with g++ abi.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.79
diff -u -p -u -r1.79 configure.in
--- configure.in	2000/12/11 16:52:42	1.79
+++ configure.in	2000/12/13 15:15:56
@@ -606,7 +606,7 @@ case "${target}" in
     ;;
   alpha*-*-linux*)
     # newlib is not 64 bit ready
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     # linux has rx in libc
     skipdirs="$skipdirs target-librx"
     ;;
@@ -742,10 +742,6 @@ case "${target}" in
     # but don't build gdb
     noconfigdirs="$noconfigdirs gdb target-libg++ ${libstdcxx_version} target-librx ${libgcj}"
     ;;
-  i[3456]86-*-linux*)
-    # linux has rx in libc
-    skipdirs="$skipdirs target-librx"
-    ;;
   *-*-linux*)
     noconfigdirs="${libgcj}"
     # linux has rx in libc
@@ -959,6 +955,9 @@ case "${target}" in
     configdirs="$configdirs grez"
     noconfigdirs="${libgcj}"
     ;;    
+  *-*-*)
+    noconfigdirs="${libgcj}"
+    ;;
 esac
 
 # If we aren't building newlib, then don't build libgloss, since libgloss


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