1. first install build-essential: sudoapt-getinstallbuild-essential2. copy the arm-linux-gcc-4.3.2.tgz from the friendly wall disc to a folder, enter the folder from the terminal, decompress: sudotar-zxvfarm-linux-gcc-4.3.2.tgz-C/NOTE: The C of the configuration item is in upper case, and there is a space behind C. 3. Add a ring
1. First install build-essential:
Sudo apt-get install build-essential
2. Copy the arm-linux-gcc-4.3.2.tgz from the friendly wall disc to a folder, enter the folder from the terminal, decompress:
Sudo tar-zxvf arm-linux-gcc-4.3.2.tgz-C/
NOTE: C of the configuration item is in uppercase, and C is followed by a space.
3. Add environment variables:
This step is the longest I have consumed. There are also many online sayings about this step:
1> sudo gedit/root/. bashrc: Add exprot PATH = $ PATH:/usr/local/arm/4.3.2/bin in the last row. I don't know
It does not work in linux, but it does not work in Ubuntu 10.04. If you run arm-linux-gcc-v, the following message is displayed:
Arm-linux-gcc: command not found.
2> first gedit ~ /. Profile, add: export PATH = $ PATH:/usr/local/arm/4.3.2/bin in the last line
~ /. Profile, which can take effect immediately. This is acceptable, but I can only use it once. If I turn off the terminal and run it again
Arm-linux-gcc-v still prompts command not found.
3> sudo gedit/etc/environment: Add/usr/local/arm/4.3.2/bin:, OK after the last: sign and before the "sign !~~