Setting up an ARM development environment for Ubuntu under Eclipse

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.