eclipse --- cygwin?
may be it's weird i post this topic in this forum. but i always get the best and most efficient reply in this forum compare to others.
im using eclipse for c++ and i would like to directly import existing makefile to eclipse. as far as i concern, this is not possible. im using mingw compiler currently. even if i want to manually build the makefile is not easy(or not possible?) anyone know how ? or should i use cygwin instead? if so how to install and run cygwin in eclipse? thanks!!!!
cygwin is its own thing, it is a unix sim for win32. You can set cygwin g++ to be the compiler for eclipse.
Eclipse supposedly manages makefiles for you but it supposedly can import as well. Either way, cygwin g++ and make programs work fine from a console window, you can bypass eclipse entirely.
Hi I have XP installed with eclipse and Cygwin aswell.
I have tested CYGWIN on the command line and it works fine.
I just dont know if it is working correctly in eclipse.
I made hello world project and tried to make all but I get the following.
**** Build of configuration Release for project helloworld ****
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 6: Command syntax error
Error makefile 11: Command syntax error
Error makefile 12: Command syntax error
Error makefile 13: Command syntax error
Error makefile 14: Command syntax error
Error makefile 16: Command syntax error
Error makefile 37: Colon expected
Error makefile 39: Command syntax error
*** 8 errors during make ***
can any one point me in the right direction please. Dont know if the gcc compiler is correctly installed in eclipse but I assume it is and there is something wrong with the makefile.
As far as i know, uisng eclipse IDE to compiled C++ file is not a good choice.
You can try Code Block and Dev C++.
I was never able to make eclipse do anything useful. It was slow and buggy and after about a 2 week fight with it, I deleted the program.
But I will try to help you...
first, build and compile your program from the commandline with g++. If you can make it work, then your g++ and cygwin are fine. The next step is to try to figure out why eclipse is broken, which I would say is due to it being a poor tool, but even so there is probably a reason it is not working. You should at least be able to do hello world with it, bad as it is its not *that* bad.
Oh, I see part of your problem. Your path in windows is set up to use borland's command line tools, and either cygwin or eclipse is trying to call the borland make program not cygwin's, you need to straighten that out!
By pityocamptes in forum Java
Last Post: 08-30-2006, 08:40 PM
Last Post: 05-22-2006, 11:13 AM
Last Post: 04-21-2006, 01:04 AM
Last Post: 11-15-2005, 03:37 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL