This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: libjava NetBSD configuration


NetBSD does not implement MD_FALLBACK_FRAME_STATE_FOR, so we need to
set DIVIDESPEC and CHECKREFSPEC. This removes 21 failures in the
test suite.

Bootstrapped and checked on i386-unknown-netbsdelf1.5ZC.

   /Krister


2002-04-10  Krister Walfridsson  <cato@df.lth.se>

        * configure.host: (*-*-netbsd*) Set DIVIDESPEC and CHECKREFSPEC.


Index: gcc/libjava/configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.30
diff -c -3 -p -r1.30 configure.host
*** gcc/libjava/configure.host	5 Apr 2002 04:17:11 -0000	1.30
--- gcc/libjava/configure.host	10 Apr 2002 23:27:13 -0000
*************** case "${host}" in
*** 129,134 ****
--- 129,138 ----
  	CHECKREFSPEC=-fcheck-references
  	slow_pthread_self=
  	;;
+   *-*-netbsd*)
+ 	DIVIDESPEC=-fuse-divide-subroutine
+ 	CHECKREFSPEC=-fcheck-references
+ 	;;
  esac

  libgcj_cflags="${libgcj_cflags} ${libgcj_flags}"


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