[英]How do I make isolated dalvik
I am tracing the Dalvik machine source code. 我正在追踪Dalvik机器的源代码。 According that, I want to make Dalvik runnable.
据此,我想让Dalvik可以运行。 I have seem the dvk project.
我似乎是dvk项目。 But there has many problem result in fault.
但是有很多问题导致了错误。 Are there have any way to make dalvik only without all android.
有没有办法让dalvik只有没有所有的android。 Because make android will take too much time (about many hour)
因为make android需要花费太多时间(大约需要几个小时)
dvk project: http://code.google.com/p/dvk/ dvk项目: http : //code.google.com/p/dvk/
if you build the lunch "sim-eng", you get a dalvikvm built for just the host (ie the Linux box you're building on). 如果您构建午餐“sim-eng”,您将获得为主机(即您正在构建的Linux机箱)构建的dalvikvm。 this already runs with glibc rather than bionic.
这已经与glibc而不是仿生运行。
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.
“mmm dalvik snod”应该足够了。 (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".)
(虽然如果你没有改变dalvik / libcore /中的任何内容,只是对VM进行更改不应该重建太多,即使你做了一个完整的顶级“make”。)
and don't forget to use "make -j" to get some parallelism into your build! 并且不要忘记使用“make -j”来获得构建中的一些并行性!
This GitHub project has a pre-compiled binary of Dalvik VM for Linux, ready to use! 这个GitHub项目有一个预编译的Dalvik VM for Linux二进制文件,随时可以使用! Check the associated blog post for information about how the binary was compiled and how to use it.
查看相关的博客文章 ,了解有关如何编译二进制文件以及如何使用它的信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.