This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
PATCH: libjava NetBSD configuration
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: java-patches at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 11 Apr 2002 01:52:31 +0200 (MEST)
- Subject: 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}"