1. Load the Mini2440-20130517.iso to the Ubuntu Optical Drive
2. Import the image to the optical disk and copy it to/home/muyang_ren (main directory) from arm-linux-gcc-4.4.3.tar.gz)
3. # Su
4. # Root Password
5. # cd/home/muyang_ren // This Is My directory. You may not find muyang_ren in the main folder.
6, # tar xvzf arm-linux-gcc-4.4.3.tar.gz-C // Note: C is followed by a space
7. Add the compiler path to the system environment variable and run the command
# Sudo gedit/root/. bashrc
Edit the/root/. bashrc file and add it in the last line:
Export Path = $ path:/opt/friendlyarm/toolschain/4.4.3/bin // opt/friendlyarm/toolschain/4.4.3/bin is the environment variable
Save and exit.
# Source ~ /. Bashrc
8. # sudo gedit/etc/environment
Add tags after games
9. # arm-Linux-gcc-V // there is a space behind gcc
2440 create a cross-compiling environment for Ubuntu (root permission)