I've downloaded the source from https://android.googlesource.com and I now want know if I can compile the lib开发者_开发知识库raries(bionic) and Dalvik VM using a cross compiler? If yes, how can I do that?
All the dependency is given on http://source.android.com/source/download.html as follows:
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo add-apt-repository "deb-src http://archive.canonical.com/ubuntu lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
$ sudo update-java-alternatives -s java-6-sun
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
精彩评论