Compile Cygwin project in Eclipse

牧云@^-^@ 提交于 2019-12-23 04:29:04

问题


I have a c++ Project that was compiled with the cygwin toolchain, now I want to use Eclipse to compile and test it. If I create a project (cygwin toolchain is set in the options) I get the error:

make: *** No rule to make target `all'. 7wWin       line 0  C/C++ Problem

In Cygwin I use:

cd $BUILDDIR
make
make install

Can Eclipse create it's own makefile? And how to setup that. Better would be a good tutorial how to compile a Cygwin c++ project with Eclipse.


回答1:


Check the following pages:

  • http://homepage.cs.uri.edu/courses/fall2007/csc406/Handouts/eclipseTutorial.pdf
  • http://wikimix.blogspot.com/2006/11/using-eclipse-as-c-development_05.html
  • http://www.benjaminarai.com/benjamin_arai/index.php?display=/eclipsecygwingcc.php


来源:https://stackoverflow.com/questions/1065623/compile-cygwin-project-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!