views:

516

answers:

1

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 for helping

dvk project: http://code.google.com/p/dvk/

+1  A: 

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!

Elliott Hughes