public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Natanael Copa <natanael.copa@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: RE: [gentoo-embedded] jamvm
Date: Thu, 21 Dec 2006 23:58:34 +0100	[thread overview]
Message-ID: <1166741914.10801.16.camel@localhost> (raw)
In-Reply-To: <F23B2C80E3825F47B93655363249D0570BEAB6@0695-its-exmp01.us.saic.com>

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?
> 
> 
> 
> -- 
> gentoo-embedded@gentoo.org mailing list
> 

-- 
gentoo-embedded@gentoo.org mailing list



      parent reply	other threads:[~2006-12-21 22:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-21 21:27 [gentoo-embedded] jamvm Natanael Copa
2006-12-21 21:58 ` Morgan, Austin D.
2006-12-21 22:16   ` Natanael Copa
2006-12-21 22:58   ` Natanael Copa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1166741914.10801.16.camel@localhost \
    --to=natanael.copa@gmail.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox