:
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.