This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

PATCH: Enable libjava for (some versions of) *-*-freebsd*


	* configure.in: Add *-*-freebsd* configurations.

[Ran top-level configure without --enable-libgcj option on
 i386-*-freebsd4.5 in fresh directory and line-compared to the version
 built last night configured with --enable-libgcj with no differences.
 Since this patch makes --enable-libgcj the default, this was the
 expected outcome.  Did same for 3.1 branch.  Permission to install on
 mainline and branch?]

[Patch for gcc tree did not apply properly in binutils.  At DJ's
 request, I fixed it by hand and included it below as well.  Ran
 top-level configure on i386-*-freebsd4.5 in fresh directory and
 line-compared to the version built without patch.]

(for gcc mainline and 3.1 branch, I can apply when approved:)
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.126
diff -c -r1.126 configure.in
*** configure.in	8 Apr 2002 18:57:57 -0000	1.126
--- configure.in	10 Apr 2002 01:24:47 -0000
***************
*** 617,622 ****
--- 617,625 ----
    *-*-chorusos)
      noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
      ;;
+   *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
+     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
+     ;;
    *-*-netbsd*)
      # Skip some stuff on all NetBSD configurations.
      skipdirs="$skipdirs target-newlib target-libiberty target-libgloss"
***************
*** 653,658 ****
--- 656,664 ----
      # linux has rx in libc
      skipdirs="$skipdirs target-librx"
      ;;
+   alpha*-*-freebsd*)
+     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+     ;;
    alpha*-*-*)
      # newlib is not 64 bit ready
      noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
***************
*** 796,801 ****
--- 802,810 ----
      if [ x${is_cross_compiler} != xno ] ; then
           target_configdirs="${target_configdirs} target-libstub target-cygmon"
      fi
+     ;;
+   i[34567]86-*-freebsd*)
+     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
      ;;
    *-*-linux*)
      noconfigdirs="$noconfigdirs target-newlib target-libgloss"

(for binutils mainline, DJ will installed when approved - thanks:)
Index: configure.in
===================================================================
RCS file: /cvs/src/src/configure.in,v
retrieving revision 1.52
diff -c -r1.52 configure.in
*** configure.in	7 Mar 2002 17:47:03 -0000	1.52
--- configure.in	10 Apr 2002 01:26:50 -0000
***************
*** 595,600 ****
--- 595,603 ----
  esac
  
  case "${target}" in
+   *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
+     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
+     ;;
    *-*-netbsd*)
      # Skip some stuff on all NetBSD configurations.
      skipdirs="$skipdirs target-newlib target-libiberty target-libgloss"
***************
*** 624,629 ****
--- 627,635 ----
    alpha*-*-*vms*)
      noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss target-libffi"
      ;;
+   alpha*-*-freebsd*)
+     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+     ;;
    alpha*-*-*)
      # newlib is not 64 bit ready
      noconfigdirs="$noconfigdirs target-newlib target-libgloss"
***************
*** 743,748 ****
--- 749,757 ----
      if [ x${is_cross_compiler} != xno ] ; then
           target_configdirs="${target_configdirs} target-libstub target-cygmon"
      fi
+     ;;
+   i[34567]86-*-freebsd*)
+     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
      ;;
    i[3456]86-*-go32* | i[3456]-*-msdosdjgpp*)
      # but don't build gdb


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