Ubuntu 10.04 install Arm-Linux-Gcc

Source: Internet
Author: User
1. first install build-essential: sudoapt-getinstallbuild-essential2. copy the arm-linux-gcc-4.3.2.tgz from the friendly wall disc to a folder, enter the folder from the terminal, decompress: sudotar-zxvfarm-linux-gcc-4.3.2.tgz-C/NOTE: The C of the configuration item is in upper case, and there is a space behind C. 3. Add a ring

1. First install build-essential:

Sudo apt-get install build-essential

2. Copy the arm-linux-gcc-4.3.2.tgz from the friendly wall disc to a folder, enter the folder from the terminal, decompress:

Sudo tar-zxvf arm-linux-gcc-4.3.2.tgz-C/

NOTE: C of the configuration item is in uppercase, and C is followed by a space.

3. Add environment variables:

This step is the longest I have consumed. There are also many online sayings about this step:

1> sudo gedit/root/. bashrc: Add exprot PATH = $ PATH:/usr/local/arm/4.3.2/bin in the last row. I don't know

It does not work in linux, but it does not work in Ubuntu 10.04. If you run arm-linux-gcc-v, the following message is displayed:

Arm-linux-gcc: command not found.

2> first gedit ~ /. Profile, add: export PATH = $ PATH:/usr/local/arm/4.3.2/bin in the last line

~ /. Profile, which can take effect immediately. This is acceptable, but I can only use it once. If I turn off the terminal and run it again

Arm-linux-gcc-v still prompts command not found.

3> sudo gedit/etc/environment: Add/usr/local/arm/4.3.2/bin:, OK after the last: sign and before the "sign !~~

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.