|
From: Christopher F. <chr...@gm...> - 2011-05-18 17:42:44
|
Hi folks,
Sorry if you're receiving this on #gentoo-embedded 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
ebuilds.
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.
=====================================================
#!/bin/sh
export PORTDIR_OVERLAY="/usr/local/portage/crossdev_overlay"
export PORTDIR_OVERLAY="${PORTDIR_OVERLAY}
/usr/local/portage/rockhopper_overlay"
emerge =sys-devel/crossdev-20110310 =sys-devel/gnuconfig-20100924
crossdev \
-S \
--g 4.6.0 \
--target i686-pc-linux-bionic
=====================================================
Cheers,
C
================================================
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
following:
===================================
#!/bin/sh
for i in proc sys dev tmp; do
mount -o bind /${i} /usr/i686-pc-linux-bionic/${i}
done
chroot /usr/i686-pc-linux-bionic /bin/sh
===================================
Cheers,
C
[1] http://code.google.com/p/gentoo-bionic
[2] https://gitorious.org/gentoo-bionic
[3] http://gentoo-bionic.blogspot.com
|