Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » What Cygwin Packages are necessary for Eclipse
What Cygwin Packages are necessary for Eclipse [message #899383] Tue, 31 July 2012 16:05 Go to next message
Jeff Schwarz
Messages: 5
Registered: July 2012
Junior Member
What parts (packages?) of Cygwin do I need to install to use Eclipse?

I'm have real difficulty figuring out how to setup the environment I need to code C in a Gentoo Linux system (and using and advanced mathematical library called CVODE, which you can find at llnl.gov). For now, I think I want to get compilation working in Cygwin (a Unix/Linux emulator for Windows systems). I have the minimum Cygwin installed on my 64-bit Win7 machine. But that does not include a graphical interface.

My friend suggests installing Eclipse in Cygwin. If I understand this reply right (a big 'if'), it suggests I need a GUI to use Eclipse.

Please advise which Cygwin packages are required to run Eclipse. Please talk slowly because I don't know Linux or Cygwin lingo.

Thank you.
J.


How can I change my settings so my full first and last name does not display? I checked the control panel, but missed where to change my display name.
Re: What Cygwin Packages are necessary for Eclipse [message #899403 is a reply to message #899383] Tue, 31 July 2012 17:07 Go to previous messageGo to next message
Edzard Egberts is currently offline Edzard Egberts
Messages: 57
Registered: July 2009
Member
Jeff Schwarz schrieb:
> What parts (packages?) of Cygwin do I need to install to use Eclipse?

You don't need Cygwin, I think, you better should use MinGW.

> I'm have real difficulty figuring out how to setup the environment I
> need to code C in a Gentoo Linux system (and using and advanced
> mathematical library called CVODE, which you can find at llnl.gov). For
> now, I think I want to get compilation working in Cygwin (a Unix/Linux
> emulator for Windows systems). I have the minimum Cygwin installed on my
> 64-bit Win7 machine. But that does not include a graphical interface.

Wow, you are really confused!

Eclipse is a general graphical user interface framework and is based on
Java. So you need a Java Virtual Machine installed, to run Eclipse.
There are several plugins, that use the eclipse framework to realise
different applications, for example Java or C/C++-Development.

For C/C++-Development you need Eclipse running the CDT plugin (you can
download it as complete CDT Eclipse package). This way eclipse appears
as Integrated Development Environment for development of C/C++
applications. It provides an editor, configuration of environment and
projects and configuration of a "toolchain", which is used for building
the software. That means, Eclipse provides the whole Environment, but
you must define, which "toolchains" it uses. So you can use the same IDE
to build for different targets, e.g. microprozessors or Linux or
MS-Windows systems.

To build for MS-Windows, you should use MinGW (please google for it,
e.g. "how to install MinGW"), not Cygwin. After MinGW is installed, you
can compile programs yourself by command line, but also CDT can use it
to build whole projects.

HTH,

Ed
Re: What Cygwin Packages are necessary for Eclipse [message #899406 is a reply to message #899403] Tue, 31 July 2012 17:23 Go to previous messageGo to next message
Jeff Schwarz
Messages: 5
Registered: July 2012
Junior Member
Thanks for your help EE. Yes, I am very confused (to put it mildly). One thing I know, though, is that I do need Cygwin.

The library I'm using, CVODE (I'm too new to post links here), has rarely - and only with great difficulty - been compiled in native Windows. It has been compiled on Windows using Cygwin. If experts have only done it in Windows using Cygwin, that's what I need, too.

But to program in Cygwin, I need an IDE (in particular, a debugger). So I think that leaves me trying to use Eclipse with Cygwin to compile C code which uses the CVODE library. I likely didn't communicate the whole thing clearly in my OP.

And I think I'm having the same question, which Cygwin packages do I need to run Eclipse?


How can I change my settings so my full first and last name does not display? I checked the control panel, but missed where to change my display name.
Re: What Cygwin Packages are necessary for Eclipse [message #899555 is a reply to message #899406] Wed, 01 August 2012 12:09 Go to previous message
Axel Mueller is currently offline Axel Mueller
Messages: 1964
Registered: July 2009
Senior Member
Here are some instructions to install Eclipse and Cygwin
http://max.berger.name/howto/cdt/cdt.jsp

note: Eclipse runs as a Java application on Windows, but it allows to use Cygwin for building your own applications.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:weird 'xxx is ambiguous' semantic errors
Next Topic:Inactive Bugs and Enhancements
Goto Forum:
  


Current Time: Fri Oct 24 13:02:27 GMT 2014

Powered by FUDForum. Page generated in 0.01628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software