Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-embedded@l.g.o
Subject: RE: [gentoo-embedded] jamvm
Date: Thu, 21 Dec 2006 22:59:33
Message-Id: 1166741914.10801.16.camel@localhost
In Reply to: RE: [gentoo-embedded] jamvm by "Morgan
1 On Thu, 2006-12-21 at 15:58 -0600, Morgan, Austin D. wrote:
2 > Hi,
3 >
4 > Has anybody managed to install jamvm and classpath with hardened/uclibc?
5 >
6 > gnu-classpath fails to emerge because there is no java vm - and the
7 > javavm is supposed to be jamvm.
8
9 I managed to compile jamvm-1.4.4-r1 with --nodeps and this patch:
10
11 --- src/os/linux/os.c.orig 2006-12-21 22:39:25 +0000
12 +++ src/os/linux/os.c 2006-12-21 22:46:12 +0000
13 @@ -28,18 +28,11 @@
14 #include "../../jam.h"
15
16 void *nativeStackBase() {
17 - pthread_attr_t attr;
18 - void *addr;
19 - int size;
20 -
21 - pthread_getattr_np(pthread_self(), &attr);
22 - pthread_attr_getstack(&attr, &addr, &size);
23 -
24 - return addr+size;
25 + return NULL;
26 }
27
28 int nativeAvailableProcessors() {
29 - return get_nprocs();
30 + return 1;
31 }
32
33 char *nativeLibPath() {
34
35 See: http://sourceforge.net/mailarchive/message.php?msg_id=37266311
36
37 gnu-classpath failed on configure due to missing gconf though.
38
39 > Any hints?
40 >
41 >
42 >
43 > --
44 > gentoo-embedded@g.o mailing list
45 >
46
47 --
48 gentoo-embedded@g.o mailing list