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.