cygwin1.7 and Eclipse CDT?

Don Porges dporges@chipwrights.com
Mon Mar 15 18:14:00 GMT 2010


-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Nahor
Sent: Monday, March 15, 2010 1:54 PM
To: cygwin@cygwin.com
Subject: Re: cygwin1.7 and Eclipse CDT?

On 2010-03-15 10:23, Bernd Prager wrote:
> Has anybody gotten Eclipse C++ CDT to run with Cygwin 1.7.?
> My Eclipse does not recognize Cygwin being installed and I cannot use 
> the Cygwin gcc tool chain.

The CDT looks for Cygwin in the registry. But Cygwin 1.7 doesn't use the
registry anymore. It works if you upgrade from 1.5 to 1.7 but not if you
install 1.7 from a clean Windows or in another location.

Here is a blog post about what registry key to modify/create.
http://dreamlayers.blogspot.com/2010/01/eclipse-incompatibility-with-cyg
win-17.html

---------------------------

For posterity, here's the list of keys from the relevant Eclipse bug at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303900 :

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions]
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin]
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2]
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/]
"native"="C:\\cygwin"
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/etc]
"native"="C:\\cygwin\\etc"
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin]
"native"="C:\\cygwin\\bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\mounts
v2]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\mounts
v2\/]
"native"="C:\\cygwin"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\mounts
v2\/etc]
"native"="C:\\cygwin\\etc"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\mounts
v2\/usr/bin]
"native"="C:\\cygwin\\bin"

According to that bug, it'll be fixed in CDT 7.0, available in June.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list