delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/15/13:02:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,URI_BLOGSPOT
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: cygwin1.7 and Eclipse CDT?
Date: Mon, 15 Mar 2010 14:02:21 -0400
Message-ID: <2175F853309F0C4F924EB2F995C38EED0161AA0A@chipmail.chipwrights.com>
In-Reply-To: <hnls7p$h3g$1@dough.gmane.org>
References: <4B9E6D0C DOT 5060005 AT prager DOT ws> <hnls7p$h3g$1 AT dough DOT gmane DOT org>
From: "Don Porges" <dporges AT chipwrights DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Nahor
Sent: Monday, March 15, 2010 1:54 PM
To: cygwin AT cygwin DOT 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=20
> 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=3D303900 :

[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"=3D"C:\\cygwin"
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/etc]
"native"=3D"C:\\cygwin\\etc"
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin]
"native"=3D"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"=3D"C:\\cygwin"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\mounts
v2\/etc]
"native"=3D"C:\\cygwin\\etc"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions\Cygwin\mounts
v2\/usr/bin]
"native"=3D"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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019