Ubuntu has been installed in the previous step, and the language pack is updated so that you can start next.
1. Install ARM-LINUX-GCC, whether you are downloading from the Internet, or the development of the CD inside, can be, the version is not limited, my is arm-linux-gcc-4.3.2.
Enter ARM-LINUX-GCC installation package directory, my location is in/home/cfan/temps this directory
Open a terminal, CD to current directory
CD home/cfan/temps/
New installation directory, recommended to install to/usr/local/arm
Enter command: sudo mkdir/usr/local/arm needs to enter an administrator password after execution.
Extract and copy files: sudo tar zxvf arm-linux-gcc-4.3.2.tgz-c/
Waiting for decompression, you can see the directory inside the/usr/local/arm/this directory 4.3.2/.
2. Modify the environment variable of ARM-LINUX-GCC, plainly is you enter ARM-LINUX-GCC when the system knows where to call.
In the terminal executes sudo gedit/etc/profile, modifies the user environment variable, notices this is the user environment variable, only then can use ARM-LINUX-GCC, but cannot use sudo arm-linux-gcc, Because Sudo uses system environment variables rather than user environment variables.
In the last line of the pop-up text editor, enter:
Export path= $PATH:/usr/local/arm/4.3.2/bin
This path to see their own ARM-LINUX-GCC the actual path of the program to modify, some in the Arm/xxxx/usr/bin directory, save closed.
Reboot or logout of the system, in the terminal input arm-linux-gcc-v if you can return the relevant information, then the installation is complete, otherwise, Baidu for a moment, solve the problem earlier.
3. Download and install the Eclipse integrated development environment.
Eclipse is an open source and free integrated development environment, and it works well, I use the version of 4.2.0, but before installation, you need to install the Java Virtual Machine first.
Eclipse Download Address: http://www.eclipse.org/downloads/
Javajre Download Address: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Download the version you want
After you download the two software, unzip it, and then copy the eclipse's directory to its own defined location, which can be put anywhere, I put it under the directory of home/cfan/tools/, the same as my Java in this directory, and then modify the user environment variables.
Enter in the terminal: sudo gedit/etc/profile, also added on the last side
Java_home=/home/cfan/tools/java/jre/
Path= $JAVA _home/bin: $PATH
and save, this path should also be modified according to the actual situation.
You need to reboot or reset the same, and then enter Java-version in the terminal to see version information.
4. Chinese eclipse will teach you how to use Eclipse to develop arm-linux programs and arm Linux drivers, eliminating makefile and endless commands to reduce learning difficulties.
Download the Chinese package, this step can not be downloaded after the decompression overlay to eclipse features and plugins directory on it.
Chinese package download Address: http://download.csdn.net/detail/cp1300/4790834
In the terminal, enter:./eclipse, provided that you can open eclipse by first CD to Eclipse's directory.
The installation of the integrated development environment came to an end, and it was later developed.