ubuntu12.04mtk编译环境安装

ubuntu12.04编译环境安装


deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted

#apt-get install openjdk-7-jdk
 
# apt-get install git gnupg flex bison gperf build-essential   zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev   libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386   libgl1-mesa-dev g++-multilib mingw32 tofrodos   python-markdown libxml2-utils xsltproc zlib1g-dev:i386

  # apt-get install linux-libc-dev:i386
#ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so


<

Make/Build Environment
OSLinux Ubuntu 12.04 (LTS, long term support version) 64bit
Windows/Mac are NOT supported, Ubuntu 10.04 are NOT supported
PC Memory & Disk Space16+G physical memory(large size recommended for build performance) 
-Avoid “JVM run out of memory”
-Speed up build performance
40+G or more disk space is needed (to build Android tree)
Make UtilityGNU Make v3.81 or above
Perl, Python, InterpreterPerl 5.14.2
Python 2.7.3
Compilation ToolsOpen 1.7.0_55(Sun JDK NOT supported, JDK 1.6 NOT supported) 
Otherspackages listed in http://source.android.com/source/initializing.html


本文出自 “莫阿甘” 博客,请务必保留此出处http://brucemj.blog.51cto.com/3319384/1590759

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。