arm-linux-gcc-4.3.2 Installation Steps

Source: Internet
Author: User
Tags tmp folder

Http://www.friendlyarm.net/dl.php?file=arm-linux-gcc-4.3.2.tgz


To Install the cross-compilation toolchain:1, first log in as root user2, copy arm-linux-gcc-4.3.2.tgz to the root directory in the TMP folder3. Unzip the command tar xvzf arm-linux-gcc-4.3.2-c/Note that the above command must have a-C and uppercase, there is a space behind to note.
4, the configuration under the compiler environment path in the console input GEDIT/ROOT/.BASHRC, etc. after a text editor at the end of the file (the last line) and add the following code. export Path=/usr/local/arm/4.3.2/bin: $PATHafter the save is closed, log off the current user and log back in to the system with the root account (the environment variable you just added takes effect). at this point you can enter in the console: Arm-linux-gcc-v If the installation succeeds, the ARM-LINUX-GCC version number will be output.
If you want it to be used under non-superuser. First, log in as a non-superuser. 1. Input command: VI ~/.BASHRC edit. bashrc file, add the contents as above at the end of the fileexport Path=/usr/local/arm/4.3.2/bin: $PATH
2. Input command: Gedit/etc/profileat the end of the file, add:Path=/usr/local/arm/4.3.2/bin: $PATHSave the changes to the profile, the execution of the source/etc/profile is OK, the first log off the current user and then log in to the console to perform arm-linux-gcc-v see if it can be executed successfully.

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.