1. GCC downgrade
Since the previous upgrade of GCC to 4.8.0with QT, it is now time to compile Android and drop to 4.4.6
My side is directly under the gcc-4.4.6 source installed
gcc Source installation package Download: ftp: // ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/
Download the installation package you need to install, the steps will not say ha!
You can also refer to this command yum install gcc gcc-c++
2. Java jdk1.5 and 1.7 conflicts
This android to jdk-1_5_022-linux-i586, now the machine is 1.7 version, so first uninstall 1.7, then install 1.5
#yum-y-Remove java-1.7.0-openjdk
#rpm-IVH jdk-1_5_022-linux-i586.rpm
3. Downgrade cross-compilation
View ARM-GCC version:
#arm-NONE-LINUX-GNUEABI-GCC--version
The version should be 4.3.2, starting with the following configuration:
First unzip the arm-none-linux-gnueabi-arm-2008q3-72-for-linux.tar.bz2 to get usr.
#cp Usr/local/arm Usr/loal
To configure environment variables:
#vim/etc/profile
Last side join:
Path= $PATH:/usr/local/arm/arm-none-linux-gnueabi/bin
If you have previously written, add the # comment to the original.
#source/etc/profile
4. This step only follows the author's own computer environment and does not necessarily apply.
Additional Android compilation issues and Solutions:
Http://www.cnblogs.com/xilinch/archive/2013/04/02/2996359.html
Some problems in compiling Android-2.2_froyo of centos6.5 JDK,GCC,ARM-GCC