如何制作孤立的 dalvik
我正在追踪 Dalvik 机器源代码。据此,我想让 Dalvik 可以运行。我似乎有 dvk 项目。但也存在很多问题导致故障。有没有什么方法可以让dalvik只在没有所有android的情况下使用。因为制作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)
dvk project: http://code.google.com/p/dvk/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您构建午餐“sim-eng”,您将获得专为主机(即您正在构建的 Linux 机器)构建的 dalvikvm。这已经与 glibc 而不是 Bionic 一起运行。
如果您想为设备进行构建,并且只是想要更快的构建,则无需重建所有内容; “mmm dalvik snod”应该足够了。 (尽管如果您没有更改 dalvik/libcore/ 中的任何内容,那么即使您执行了完整的顶级“make”,仅对虚拟机进行更改也不应该重建太多。)
并且不要忘记使用“ make -j" 为您的构建带来一些并行性!
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.
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".)
and don't forget to use "make -j" to get some parallelism into your build!
这个 GitHub 项目 有一个预编译的二进制文件适用于 Linux 的 Dalvik VM,可以使用了!检查相关的博客文章有关如何编译二进制文件以及如何使用它的信息。
This GitHub project has a pre-compiled binary of Dalvik VM for Linux, ready to use! Check the associated blog post for information about how the binary was compiled and how to use it.