1安装10.0.2虚拟机
2注册虚拟机
3下载ubuntu镜像
4下载2.3.7源码,解压,chmod 777,给文件夹权限
5安装ubuntu,,选择网络镜像,安装语言包,调整分辨率,安装VMTOOLS
6.安装JDK1.6_45
7.vi ~/.bashrc配置JDK环境
8.source ~/.bashrc
9.java -version查看是否安装成功
10.安装sudo apt-get install zlib1g-dev
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install gperf
sudo apt-get install libsdl-dev
sudo apt-get install libesd0-dev
sudo apt-get install libncurses5-dev
sudo apt-get install libx11-dev
11 sudo apt-get install gcc-4.4
sudo apt-get install g++-4.4
sudo rm -rf /usr/bin/gcc /usr/bin/g++
sudo ln -s /usr/bin/gcc-4.4 /usr/bin/gcc
sudo ln -s /usr/bin/g++-4.4 /usr/bin/g++
12.sudo apt-get install gcc-4.4
13sudo apt-get install g++-4.4
14source build/envsetup.sh
lunch full-eng
make -j4
等了2个小时,编译成功