开发者

Libraries used in Android

开发者 https://www.devze.com 2023-02-17 08:46 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消