When I configure use "--host=bfin-uclinux" , the configure will fail when enter kaffe/kaffevm/boehm-gc/boehm/ . I checked the configure script, that seems pthread support cannot be recognized under uclinux config. The attachment is my patch to fix this issue.
diff -Nur kaffe-1.1.6/kaffe/kaffevm/boehm-gc/boehm/configure kaffe-1.1.6.old/kaffe/kaffevm/boehm-gc/boehm/configure
--- kaffe-1.1.6/kaffe/kaffevm/boehm-gc/boehm/configure	2006-03-14 19:13:03.000000000 +0800
+++ kaffe-1.1.6.old/kaffe/kaffevm/boehm-gc/boehm/configure	2005-08-27 20:51:11.000000000 +0800
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 1.1.1.1 .
+# From configure.ac Revision: 1.3 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for gc 6.4.
 #
@@ -4016,7 +4016,7 @@
 _ACEOF
 
 	;;
-     *-*-linux*|*-*-uclinux*)
+     *-*-linux*)
 	cat >>confdefs.h <<\_ACEOF
 #define GC_LINUX_THREADS 1
 _ACEOF
diff -Nur kaffe-1.1.6/kaffe/kaffevm/boehm-gc/boehm/configure.ac kaffe-1.1.6.old/kaffe/kaffevm/boehm-gc/boehm/configure.ac
--- kaffe-1.1.6/kaffe/kaffevm/boehm-gc/boehm/configure.ac	2006-03-14 19:13:08.000000000 +0800
+++ kaffe-1.1.6.old/kaffe/kaffevm/boehm-gc/boehm/configure.ac	2005-05-07 01:02:54.000000000 +0800
@@ -22,7 +22,7 @@
 AC_CONFIG_SRCDIR(gcj_mlc.c)
 AC_CANONICAL_TARGET 
 AC_PREREQ(2.53)
-AC_REVISION($Revision: 1.2 $)
+AC_REVISION($Revision: 1.3 $)
 GC_SET_VERSION
 AM_INIT_AUTOMAKE
 
@@ -92,7 +92,7 @@
 	fi
 	AC_DEFINE(THREAD_LOCAL_ALLOC)
 	;;
-     *-*-linux*|*-*-uclinux*)
+     *-*-linux*)
 	AC_DEFINE(GC_LINUX_THREADS)
 	AC_DEFINE(_REENTRANT)
 	;;
_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to