2440 create a cross-compiling environment for Ubuntu (root permission)

Source: Internet
Author: User

1. Load the Mini2440-20130517.iso to the Ubuntu Optical Drive


2. Import the image to the optical disk and copy it to/home/muyang_ren (main directory) from arm-linux-gcc-4.4.3.tar.gz)

3. # Su

4. # Root Password

5. # cd/home/muyang_ren // This Is My directory. You may not find muyang_ren in the main folder.

6, # tar xvzf arm-linux-gcc-4.4.3.tar.gz-C // Note: C is followed by a space

7. Add the compiler path to the system environment variable and run the command
# Sudo gedit/root/. bashrc
Edit the/root/. bashrc file and add it in the last line:
Export Path = $ path:/opt/friendlyarm/toolschain/4.4.3/bin // opt/friendlyarm/toolschain/4.4.3/bin is the environment variable
Save and exit.

# Source ~ /. Bashrc

8. # sudo gedit/etc/environment

Add tags after games


9. # arm-Linux-gcc-V // there is a space behind gcc




2440 create a cross-compiling environment for Ubuntu (root permission)

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.