如何使孤立的Dalvik孤立、Dalvik

2023-09-06 15:49:24 作者:習慣ㄋ孤單

我跟踪了Dalvik的计算机源$ C ​​$ C。根据这一点,我想打的Dalvik可运行。我似乎是DVK项目。但是,有很多问题导致的故障。有没有有什么办法让Dalvik的不只是所有的Andr​​oid。因为让Android会花太多时间(约多小时)

I am tracing the Dalvik machine source code. According that, I want to make Dalvik runnable. I have seem the dvk project. But there has many problem result in fault. Are there have any way to make dalvik only without all android. Because make android will take too much time (about many hour)

THX帮助

DVK项目: HTTP://$c$c.google.com/p/ DVK /

推荐答案

如果你建立的午餐SIM-ENG,你建的只是主机dalvikvm(即在Linux中,你正在构建的)。这已经与glibc的运行,而不是仿生。

if you build the lunch "sim-eng", you get a dalvikvm built for just the host (i.e. the Linux box you're building on). this already runs with glibc rather than bionic.

如果你想建立一个设备,而只是想更快的打造,你并不需要重建的一切; MMM的Dalvik snod就足够了。 (不过,如果你还没有的Dalvik改变任何东西/ libcore /,只是在更改虚拟机不应该重建太大,无论如何,即使你做了充分的顶级做。)

if you want to build for a device, and just want a quicker build, you don't need to rebuild everything; "mmm dalvik snod" should be sufficient. (though if you haven't changed anything in dalvik/libcore/, just making changes to the VM shouldn't rebuild much anyway, even if you do a full top-level "make".)

和不要忘记使用使-j得到一些并行到您的构建!

and don't forget to use "make -j" to get some parallelism into your build!