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: toplevel configure.in -vs- gcj on Solaris


The top-level configure.in script has a case that switches on the
target.  The `*-*-*' branch excludes libgcj.  Unfortunately this
branch happens to catch Solaris on sparc, an architecture where gcj
and libgcj actually work.

I'd like to commit this patch.  With it, `--enable-languages=java'
works on Solaris.

Ok?

2001-01-25  Tom Tromey  <tromey@redhat.com>

	* configure.in: Allow libgcj to be built on Sparc Solaris.

Tom

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.86
diff -u -r1.86 configure.in
--- configure.in	2001/01/23 22:17:30	1.86
+++ configure.in	2001/01/25 19:19:48
@@ -921,6 +921,8 @@
            use_gnu_ld=no
     fi
     ;;
+  sparc-*-solaris*)
+    ;;
   v810-*-*)
     noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libg++ ${libstdcxx_version} opcodes target-libgloss ${libgcj}"
     ;;

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