On Thu, 2006-12-21 at 15:58 -0600, Morgan, Austin D. wrote:
> Hi,
> 
> Has anybody managed to install jamvm and classpath with hardened/uclibc?
> 
> gnu-classpath fails to emerge because there is no java vm - and the
> javavm is supposed to be jamvm.

I managed to compile jamvm-1.4.4-r1 with --nodeps and this patch:

--- src/os/linux/os.c.orig      2006-12-21 22:39:25 +0000
+++ src/os/linux/os.c   2006-12-21 22:46:12 +0000
@@ -28,18 +28,11 @@
 #include "../../jam.h"

 void *nativeStackBase() {
-    pthread_attr_t attr;
-    void *addr;
-    int size;
-
-    pthread_getattr_np(pthread_self(), &attr);
-    pthread_attr_getstack(&attr, &addr, &size);
-
-    return addr+size;
+    return NULL;
 }

 int nativeAvailableProcessors() {
-    return get_nprocs();
+    return 1;
 }

 char *nativeLibPath() {

See: http://sourceforge.net/mailarchive/message.php?msg_id=37266311

gnu-classpath failed on configure due to missing gconf though.

> Any hints?
> 
> 
> 
> -- 
> [email protected] mailing list
> 

-- 
[email protected] mailing list

Reply via email to