Community
Participate
Working Groups
Build Identifier: 20100917-0705 When I try installing CDT version 8.0 latest build, it does not recognize my cygwin toolchain. The problem does not appear with CDT 7. These are the builds I tried: http://download.eclipse.org/tools/cdt/builds/8.0.0/I.I201101311025/index.html AND http://download.eclipse.org/tools/cdt/builds/8.0.0/I.I201102040806/index.html I followed the instructions as stated on the above pages for installation. Here is the index page for the CDT 8.0 builds for your reference: http://download.eclipse.org/tools/cdt/builds/8.0.0/index.html I cannot use CDT version 7 because that version has the following bug: http://download.eclipse.org/tools/cdt/builds/8.0.0/I.I201102040806/index.html That bug is supposed to have been fixed in CDT 8 so I'm trying to install CDT 8. Would appreciate your help in the matter... I've marked the bug as critical, because the build is unusable without the toolchain. Thanks. Reproducible: Always Steps to Reproduce: 1.Install Eclipse 3.7 (with Java or C++ version) 2.Install the CDT 8.0 build I201102040806 (Select C/C++ Development Tools) 3.Restart Eclipse 4.Go to the new C++ project menu 5.Observe that the cygwin toolchain is not detected even though it has been installed and exists in the PATH.
The algorithm of searching for cygwin is described here: http://wiki.eclipse.org/CDT/User/FAQ#I_installed_Cygwin_on_my_PC_but_Eclipse_won.27t_find_it. Do you have cygwin1.dll in one of the folders of the PATH?
(In reply to comment #1) > The algorithm of searching for cygwin is described here: > http://wiki.eclipse.org/CDT/User/FAQ#I_installed_Cygwin_on_my_PC_but_Eclipse_won.27t_find_it. > > Do you have cygwin1.dll in one of the folders of the PATH? Yes. And CDT 7 does recognize cygwin and everything works ok...
(In reply to comment #2) > > Do you have cygwin1.dll in one of the folders of the PATH? > Yes. And CDT 7 does recognize cygwin and everything works ok... It works for me on Windows 7 and Windows XP. I don't have access to Windows Vista. If you go to Windows "cmd" shell in project folder and run "make all" from command line - what happens? You need to run from the folder where makefile is located, i.e. from project root if unmanaged project or from "Debug" folder where CDT generates makefile for managed build. If the above builds your project from command line you can untick "Show project types and toolchains only if they are supported on the platform" in the New C/C++ Project wizard - then all toolchains will appear in the list including cygwin.
(In reply to comment #3) > (In reply to comment #2) > > > Do you have cygwin1.dll in one of the folders of the PATH? > > Yes. And CDT 7 does recognize cygwin and everything works ok... > It works for me on Windows 7 and Windows XP. I don't have access to Windows > Vista. > > If you go to Windows "cmd" shell in project folder and run "make all" from > command line - what happens? You need to run from the folder where makefile is > located, i.e. from project root if unmanaged project or from "Debug" folder > where CDT generates makefile for managed build. > > If the above builds your project from command line you can untick "Show project > types and toolchains only if they are supported on the platform" in the New > C/C++ Project wizard - then all toolchains will appear in the list including > cygwin. I tried the same thing on a WinXP machine but that did not work either. Can you please send me the link to the exact Eclipse build and cygwin version that you tried? And can you provide other specific details that may be relevant? Thanks.
(In reply to comment #4) > I tried the same thing on a WinXP machine but that did not work either. Can you > please send me the link to the exact Eclipse build and cygwin version that you > tried? And can you provide other specific details that may be relevant? > Thanks. I debugged the version from today's CDT HEAD (corresponding roughly to the latest build) and made sure it picked cygwin1.dll from the PATH. It did. My cygwin version as shown by "cygcheck -c cygwin" is 1.7.7-1. But my CDT or cygwin version is not the point. Many users are using CDT with cygwin and they don't have this problem. Your system must be different somehow. My main interest in this bug (and btw the whole point of entering bugs in bugzilla) is to identify the problem and fix it if possible in CDT so others won't have this problem anymore. That's why I am asking to run make command from cmd shell. Can you do that?
(In reply to comment #5) > (In reply to comment #4) > > I tried the same thing on a WinXP machine but that did not work either. Can you > > please send me the link to the exact Eclipse build and cygwin version that you > > tried? And can you provide other specific details that may be relevant? > > Thanks. > I debugged the version from today's CDT HEAD (corresponding roughly to the > latest build) and made sure it picked cygwin1.dll from the PATH. It did. My > cygwin version as shown by "cygcheck -c cygwin" is 1.7.7-1. But my CDT or > cygwin version is not the point. > Many users are using CDT with cygwin and they don't have this problem. Your > system must be different somehow. My main interest in this bug (and btw the > whole point of entering bugs in bugzilla) is to identify the problem and fix it > if possible in CDT so others won't have this problem anymore. That's why I am > asking to run make command from cmd shell. Can you do that? Yes I did try that. Make worked but when I uncheck the "Show project types and toolchains only if they are supported on the platform", Cygwin still does not appear under the Toolchains section. Btw everything worked fine when I installed Eclipse SDK and used the indigo link (Indigo - http://download.eclipse.org/releases/indigo) for installing C++ development tools version 8... Thanks.
(In reply to comment #6) > > asking to run make command from cmd shell. Can you do that? > Yes I did try that. Make worked but when I uncheck the "Show project > types and toolchains only if they are supported on the platform", Cygwin still > does not appear under the Toolchains section. That's weird. It should be there as long as managedbuild plugin is installed. Perhaps broken/incomplete installation? > Btw everything worked fine when I installed Eclipse SDK and used the indigo link > (Indigo - http://download.eclipse.org/releases/indigo) for installing C++ > development tools version 8... > Thanks. Thanks for letting us know. Closing the bug then.
(In reply to comment #7) > (In reply to comment #6) > > > asking to run make command from cmd shell. Can you do that? > > Yes I did try that. Make worked but when I uncheck the "Show project > > types and toolchains only if they are supported on the platform", Cygwin still > > does not appear under the Toolchains section. > That's weird. It should be there as long as managedbuild plugin is installed. > Perhaps broken/incomplete installation? > > > Btw everything worked fine when I installed Eclipse SDK and used the indigo link > > (Indigo - http://download.eclipse.org/releases/indigo) for installing C++ > > development tools version 8... > > Thanks. > Thanks for letting us know. Closing the bug then. Ok, thanks for your help!
Oops reopened the bug by mistake...