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]
Other format: [Raw text]

Re: Add x86 darwin java support


Brad, Mike,

Bradley Lucier wrote:
Mike:

I'm now seeing a bootstrap failure on powerpc64-apple-darwin8.8.0

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30134

Andreas Tobler thinks it may have been caused by the change

and I checked in the toplevel changes:

2006-12-08 Sandro Tolaini <tolaini@libero.it>

        * configure.in: Add x86 darwin support for libjava.
        * configure: Regenerate.

and he suggests an alternative approach. Can you see if that fixes things?

I test the attached patch under i?86-*-darwin* now. It will be changed again when I can submit the x86_64-*darwin* support. Powerpc64 will still be open :)


Brad, if you like to try it yourself, you only need an autoconf-2.13 to regenerate the configure. If you're not able to, mail me in private and I'll send you the complete diff.

Regards,
Andreas

2006-12-09 Andreas Tobler <a.tobler@schweiz.org>

	* configure.in: Correct x86 darwin support for libjava to powerpc
	and i?86 only.
	* configure: Regenerate.



Index: configure.in
===================================================================
--- configure.in	(revision 119697)
+++ configure.in	(working copy)
@@ -368,10 +368,15 @@
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;
-  *-*-darwin*)
+  powerpc-*-darwin* | i[[3456789]]86-*-darwin*)
     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
+  *-*-darwin*)
+    noconfigdirs="$noconfigdirs ld gas gdb gprof"
+    noconfigdirs="$noconfigdirs sim target-rda"
+    noconfigdirs="$noconfigdirs ${libgcj}"
+    ;;
   *-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;

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