1 |
Hi again Liang, |
2 |
|
3 |
Here is a message I sent out with some more information on the jamvm |
4 |
mailing list. |
5 |
|
6 |
Incidentally, there is a precompiled toolchain available on the google |
7 |
code site as well. If you unpack the binaries to |
8 |
/usr/portage/packages/cross-i686-pc-linux-bionic, and then run emerge |
9 |
-Kav cross-i686-pc-linux-bionic/{binutils,bionic-kernel-headers,gcc,bionic} |
10 |
you will have the toolchain installed. |
11 |
|
12 |
C |
13 |
|
14 |
---------- Forwarded message ---------- |
15 |
From: Christopher Friedt <chrisfriedt@×××××.com> |
16 |
Date: Wed, May 18, 2011 at 1:49 PM |
17 |
Subject: JamVM / Bionic |
18 |
To: jamvm-general@×××××××××××××××××.net |
19 |
|
20 |
|
21 |
Hi folks, |
22 |
|
23 |
Sorry if you're receiving this on #gentoo-embedded or another |
24 |
mailing list as well, but I just wanted to announce a small |
25 |
project that might be of interest for some people on this list. |
26 |
|
27 |
I'm introducing Android's Bionic C library into Gentoo's Portage as |
28 |
new ELIBC and put together a proof of concept overlay that contains |
29 |
the libc, icu4c, libxml2, libxslt, zlib, gnu-classpath and jamvm |
30 |
ebuilds. |
31 |
|
32 |
It's alpha right now, but runs on amd64 / x86 hardware. I haven't |
33 |
built it yet for arm, but that arch will be my next victim. |
34 |
|
35 |
If anyone is interested, it would be great if someone could try |
36 |
building it from scratch and let me know if there are any speed-bumps. |
37 |
|
38 |
================================================== |
39 |
|
40 |
I've made tarball snapshots of the portage overlay (i.e. all source), |
41 |
sysroot, and toolchain available here[1]. |
42 |
|
43 |
A gitorious project has been set up here[2], but I'm not going to |
44 |
check-in the overlay until a bit more testing is done. |
45 |
|
46 |
I've also set up a blog to make announcements here[3], and will be |
47 |
making the first post after checking the overlay into gitorious and |
48 |
after one or two people can reproduce the build. |
49 |
|
50 |
Incidentally, if anyone here has an amd64 or x86 arch running Linux |
51 |
and would like to do take it for a test drive, download the sysroot |
52 |
from [1], unpack to /usr/i686-pc-linux-bionic and then run the |
53 |
following: |
54 |
|
55 |
=================================== |
56 |
#!/bin/sh |
57 |
|
58 |
for i in proc sys dev tmp; do |
59 |
mount -o bind /${i} /usr/i686-pc-linux-bionic/${i} |
60 |
done |
61 |
|
62 |
chroot /usr/i686-pc-linux-bionic /bin/sh |
63 |
=================================== |
64 |
|
65 |
Incidentally, if you try to recreate the toolchain, please use the following: |
66 |
|
67 |
===================================================== |
68 |
#!/bin/sh |
69 |
|
70 |
export PORTDIR_OVERLAY="/usr/local/portage/crossdev-overlay" |
71 |
export PORTDIR_OVERLAY="${PORTDIR_OVERLAY} |
72 |
/usr/local/portage/gentoo-bionic-overlay" |
73 |
|
74 |
emerge =sys-devel/crossdev-20110310 =sys-devel/gnuconfig-20100924 |
75 |
|
76 |
crossdev \ |
77 |
-S \ |
78 |
--g 4.6.0 \ |
79 |
--target i686-pc-linux-bionic |
80 |
|
81 |
===================================================== |
82 |
|
83 |
Cheers, |
84 |
|
85 |
C |
86 |
|
87 |
[1] http://code.google.com/p/gentoo-bionic |
88 |
[2] https://gitorious.org/gentoo-bionic |
89 |
[3] http://gentoo-bionic.blogspot.com |