Mail Archives: cygwin/2010/03/15/12:44:52
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
> My Eclipse does not recognize Cygwin being installed and I cannot use
> the Cygwin gcc tool chain.
> I am certain I have all required packages installed:
>
> $ cat /etc/setup/installed.db | grep -P
> '^gcc\s+|^gcc-core\s+|^gcc-g\+\+\s+|^gcc-mingw-core\s+|^gcc-mingw-g\+\+\s+|^binutils\s+|^make\s+'
>
> binutils binutils-2.19.51-1.tar.bz2 0
> gcc-core gcc-core-3.4.4-999.tar.bz2 0
> gcc-g++ gcc-g++-3.4.4-999.tar.bz2 0
> gcc-mingw-core gcc-mingw-core-20050522-1.tar.bz2 0
> gcc-mingw-g++ gcc-mingw-g++-20050522-1.tar.bz2 0
> make make-3.81-2.tar.bz2 0
>
> I am sorry, if that would be more an Eclipse question, but I hope I find
> some targeted experiences in this list.
>
> Thanks for any help,
> -- Bernd
>
>
>
> --
> 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
>
>
8 anni 11 mesi 6 giorni 9 ore 1 minuto 40 secondi
--
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 -