PATCH enable libgcj for darwin

Andreas Tobler toa@pop.agri.ch
Wed Jul 30 20:17:00 GMT 2003


Hi,

this patch enables the libjava build for darwin by default. Approved by 
Geoff K.

At the moment the jni test run fails due to libltdl not detecting an 
issue with symbol underscore correctly.
My patch I had for this is not the right solution. So we probably have 
to update the libltdl, discussion/investigation ongoing. (the cvs 
libltdl does it correctly)

commited to main after bootstrapping and regtesting on darwin.

Andreas

2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>

         * configure.in: Enable libgcj for darwin.
         * configure: Rebuild.

RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.247
diff -u -r1.247 configure.in
--- configure.in        28 Jul 2003 03:25:51 -0000      1.247
+++ configure.in        30 Jul 2003 07:30:02 -0000
@@ -321,7 +321,7 @@
      ;;
    *-*-darwin*)
      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
-    noconfigdirs="$noconfigdirs target-libobjc ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libobjc"
      ;;
    *-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*)
      noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"



More information about the Java-patches mailing list