Some problems in compiling Android-2.2_froyo of centos6.5 JDK,GCC,ARM-GCC

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.