Summary of cross-compilation environment setup in Ubuntu10.10

Source: Internet
Author: User
Cross Compiler: arm-linux-gcc-4.4.3 Development Board: mini2440 build steps: 1. Copy the arm-linux-gcc-4.4.3 to the/emp directory 2. Run the command tarzxvfarm-linux-gcc-4.4.3-C/3. Run the command sudogedit/home/Your Ubuntu10.10 login account /. bashrc4, set the environment variable in the Open File

Cross Compiler: arm-linux-gcc-4.4.3

Development Board: mini2440

Procedure:

1. Copy the arm-linux-gcc-4.4.3 to the/emp directory

2. Execute the command tar zxvf arm-linux-gcc-4.4.3-C/

3. Run sudo gedit/home/Your Ubuntu 10.10 Logon account/. bashrc.

4. Set the environment variable in the open file: Enter "export PATH = $ PATH:/opt/FriendlyARM/toolschain/4.4.3/bin" in the bottom line of the file, save and exit.

5. Run the command "arm-linux-gcc-v" to check whether the cross-compilation environment is installed. If the following prompt is displayed, the installation is successful.

(Note: commands not found is always prompted after installation according to the mini2440 User Manual. The main reason is that Ubuntu does not allow ROOT logon by default)

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.