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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B9E78DD.10602@prager.ws>
Date: Mon, 15 Mar 2010 14:13:49 -0400
From: Bernd Prager <bernd AT prager DOT ws>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin1.7 and Eclipse CDT?
References: <4B9E6D0C DOT 5060005 AT prager DOT ws> <4B9E7203 DOT 1010407 AT alcatel-lucent DOT com>
In-Reply-To: <4B9E7203.1010407@alcatel-lucent.com>
X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 198.45.18.20 authed with pragerws}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 3/15/2010 1:44 PM, Danilo Turina wrote:
> On 15/03/2010 18.23, Bernd Prager wrote:
>> Has anybody gotten Eclipse C++ CDT to run with Cygwin 1.7.?
>
> Yes, it works for me.
> I have the latest version of Eclipse Galileo (3.5.2?) and I've Cygwin 
> 1.7 up to date.
>
> Notice, anyway, that I don't heavily use it (e.g. I compile only one 
> file at time choosing "Build selected item" on project explorer).
>
> I hadn't to do anything strange to make Eclipse recognize Cygwin 1.7 
> (anyway notice that I previously had Cygwin 1.5).
>
> It's worth noticing that with the default Eclipse configuration I 
> wasn't able to compile using gcc/g++.
>
> This was due to the fact that in Cygwin 1.7 gcc, g++, etc. are 
> symbolic links (alternatives?) that are marked as executables. This 
> causes Eclipse to believe they are Win32 executables and make it to 
> try to execute them (Eclipse doesn't understand Cygwin's symlinks).
>
> To fix this (but maybe this has already been discussed in this list), 
> in Eclipse preferences just change the references to gcc, g++ putting 
> instead the names of the real executables (g++-3, gcc-3, etc.)
>
> Ciao,
>     Danilo

Thank you Danielo! That closed that case for me. :)

--
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