Linux Eclipse with custom makefile cross-compiling

Source: Internet
Author: User

Eclipse installation is not introduced, we installed themselves, the following into the topic.

A) Open Eclipse and create a new C or C + + project

Build a Makefile project, and then copy the current original code and write the makefile to funerals funerals built the project directory, press F5 Refresh can add code to the project

Second, click Project->properties, select the C/c++build in the environment, add path with the system's path, this purpose we are to add the path of the cross-compiler to path. If you already have a path, See if there is a cross-compiler path, and some words can be added.

So that if we succeed, you can press build all to try, if your makefile does not have all this instruction, to create a new make target, in short, ensure that your editor is valid.

Linux Eclipse with custom makefile cross-compiling

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.