Gentoo Archives: gentoo-embedded

From: Christopher Friedt <chrisfriedt@×××××.com>
To: gentoo-embedded@l.g.o
Cc: Liang Peng <pengliang.sdu@×××××.com>
Subject: [gentoo-embedded] Fwd: JamVM / Bionic
Date: Fri, 08 Jul 2011 12:12:28
Hi again Liang,

Here is a message I sent out with some more information on the jamvm
mailing list.

Incidentally, there is a precompiled toolchain available on the google
code site as well. If you unpack the binaries to
/usr/portage/packages/cross-i686-pc-linux-bionic, and then run emerge
-Kav cross-i686-pc-linux-bionic/{binutils,bionic-kernel-headers,gcc,bionic}
you will have the toolchain installed.


---------- Forwarded message ----------
From: Christopher Friedt <chrisfriedt@×××××.com>
Date: Wed, May 18, 2011 at 1:49 PM
Subject: JamVM / Bionic
To: jamvm-general@×××××××××××××××××.net

Hi folks,

Sorry if you're receiving this on #gentoo-embedded or another
mailing list as well, but I just wanted to announce a small
project that might be of interest for some people on this list.

I'm introducing Android's Bionic C library into Gentoo's Portage as
new ELIBC and put together a proof of concept overlay that contains
the libc, icu4c, libxml2, libxslt, zlib, gnu-classpath and jamvm

It's alpha right now, but runs on amd64 / x86 hardware. I haven't
built it yet for arm, but that arch will be my next victim.

If anyone is interested, it would be great if someone could try
building it from scratch and let me know if there are any speed-bumps.


I've made tarball snapshots of the portage overlay (i.e. all source),
sysroot, and toolchain available here[1].

A gitorious project has been set up here[2], but I'm not going to
check-in the overlay until a bit more testing is done.

I've also set up a blog to make announcements here[3], and will be
making the first post after checking the overlay into gitorious and
after one or two people can reproduce the build.

Incidentally, if anyone here has an amd64 or x86 arch running Linux
and would like to do take it for a test drive, download the sysroot
from [1], unpack to /usr/i686-pc-linux-bionic and then run the


for i in proc sys dev tmp; do
 mount -o bind /${i} /usr/i686-pc-linux-bionic/${i}

chroot /usr/i686-pc-linux-bionic /bin/sh

Incidentally, if you try to recreate the toolchain, please use the following:


export PORTDIR_OVERLAY="/usr/local/portage/crossdev-overlay"

emerge =sys-devel/crossdev-20110310 =sys-devel/gnuconfig-20100924

crossdev \
      -S \
      --g 4.6.0 \
      --target i686-pc-linux-bionic