Download and install arm-Linux-GCC 4.3.2

Source: Internet
Author: User

 

Download arm-linux-gcc-4.3.2.tgz (84 MB)

Install the cross-compilation tool chain:
1. First, log on as the root user.
2. Copy the arm-linux-gcc-4.3.2.tgz to the tmp folder under the root directory
3. Unzip the tar xvzf arm-linux-gcc-4.3.2.tgz-C/
Note that the preceding command must have-C and uppercase letters followed by a space.

4. Configure the compiling environment path and enter gedit/root/. bashrc in the console. After a text editor is released, add the following code at the end of the file (the last line ).

Export Path =/usr/local/ARM/4.3.2/bin: $ path

After saving and disabling, log out of the current user (CTRL + ALT + backspace) and log on to the system again with the root account (to make the newly added environment variables take effect)

In this case, you can enter arm-Linux-gcc-V on the console. If the installation is successful, the version number of arm-Linux-GCC will be output.

If you want it to be used by a non-Super User. First, log in as a user
1. Enter the command: VI ~ /. Bashrc edit the. bashrc file and add the above content to the end of the file
Export Path =/usr/local/ARM/4.3.2/bin: $ path

2. Enter the command gedit/etc/profile.

Add at the end of the file
Path =/usr/local/ARM/4.3.2/bin: $ path

After saving the changes to the profile, execute source/etc/profile, after logging out of the current user, log on to the console and run arm-Linux-gcc-V to check whether the execution is successful.

If you need to install Yum install XXX, you can simply use Yum install XXX.

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.