Vmware + redhat9 + QQ2440V3 build a cross-Development Environment

Source: Internet
Author: User
Vmware + redhat9 + QQ2440V3 sets up a cross-development environment-Linux general technology-Linux programming and kernel information. For more information, see the following. I recently bought a QQ2440V3 Development Board with a friendly arm. Now I will write down the process of creating a development environment.

Install software:

(1) Wmware workstation 5.5.3

(2) redhat 9.0 (3 CDs)

(3) Vmware tools

NOTES: You must configure the serial port on the virtual machine because minicom is used. Choose VM> Settings> Add to select the serial port by default.

Software Installation Process omitted

Create a cross-compilation environment:

Create a development environment that can compile Linux kernel, driver, and application in Redhat9 as follows:

(1) create a directory/opt/friendlyarm/qq2440v3/

(2) install arm-gcc.

Arm-linux-gcc-2.95.3.tgz
Arm-linux-gcc-3.3.2.tgz
Arm-linux-gcc-3.4.1.tgz

Copy to/opt/friedlyarm/qq2440v3/

(3) execute the decompression command

# Tar xvzf arm-linux-gcc-2.95.3.tgz-C // * compile vivi */
# Tar xvzf arm-linux-gcc-3.3.2.tgz-C // * compile Qtopia/Embedded */
# Tar xvzf arm-linux-gcc-3.4.1.tgz-C // * compile the kernel */

(4) add the two methods to the environment variable PATH:

Method 1:

# Vi/root/. bashrc

Add export PATH = $ PATH:/usr/local/arm/3.4.1/bin. Once logout is added, login takes effect.

Method 2:

# Vi/etc/profile
# Path manipulation
If ['id-U' = 0]; then
Pathmuge/sbin
Pathmuge/usr/sbin
Pathmuge/usr/local/sbin
Pathmuge/usr/local/arm/3.4.1/bin
Fi

Save, exit, and restart.
Related Article

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.