First step: Install JRE and Eclipse
For detailed steps please refer to: http://blog.csdn.net/ex_net/article/details/7251664
Step Two: Install ARM-LINUX-GCC and arm-linux-g++
(1) Copy the arm-linux-gcc-4.3.2.tgz to the/home/tools directory, then unzip to the root directory/
# TAR-XVZF Arm-linux-gcc-4.3.2.tgz-c/
(2) Modifying environment variables
# gedit/etc/environment
Add to this profile::/usr/local/arm/4.3.2/bin
(3) Restart Ubuntu System (log off the current user, re-login is also possible)
(4) Detect if the ARM-LINUX-GCC compilation tool is installed correctly
# arm-linux-gcc-v
If you can see the above information correctly, your compilation tool is installed correctly.
Step Three: Configure Eclipse
(1) Open Eclipse and create a new C + + project
And then all the way next.
(2) Set the newly created project properties, right-click on the "Test1" project
(4) Create a new project management configuration information
(5) Set up the newly created ARM configuration information
When Arm is selected, the command for GCC C + + Compiler, gcc c Compiler, gcc C + + Linker, GCC assembler is modified here
(6) Test ARM-LINUX-GCC compilation
Click Build Project again
Review the compilation results and prompt for build finished without any errors.
Fourth step: Download the newly compiled program to the Development Board, for example, on the 6410 Development Board.
Use Telnet 192.168.0.XX to log on to the Development Board first
Then hook up the NFS directory
On PC pc
Installing NFS can be used #sudo dpkg--clear-avail && sudo apt-get update #sudo apt-get install Nfs-common nfs-kernel-server PORTMA P |
Example: Mount-t nfs-o nolock 192.168.0.176:/home/mnt/disk/nfs
Then go to the arm directory under the Test1 directory, execute the program
Results of the operation:
Now our 1th test program has succeeded!
Setting up an ARM development environment for Ubuntu under Eclipse