Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356439

Summary: Cygwin not recognized by toolchain,gives path errors with Indigo + CDT
Product: [Tools] CDT Reporter: Razvan Ionescu <varzanu.de.komodo>
Component: cdt-build-managedAssignee: Project Inbox <cdt-build-managed-inbox>
Status: RESOLVED INVALID QA Contact: Chris Recoskie <recoskie>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
project dir
none
full output from project -> build project none

Description Razvan Ionescu CLA 2011-09-01 03:59:42 EDT
Build Identifier: 20110615-0604

I've installed Cygwin along with all the developer tools. The Cygwin toolchain is not picked up as an option by default (although my cygwin bin dir is in the path), and when I select it by hand and then try to build I get a weird error: "gcc: ../test.c: No such file or directory". That also happens when running make from the command line.
If, on the other hand, I try to run the same command with "test.c" instead of "../test.c" from the directory my source file's in, that produces a correct result.
Also, Cygwin complains about using windows-style paths instead of /linux/style/paths

Reproducible: Always
Comment 1 Razvan Ionescu CLA 2011-09-01 04:01:52 EDT
Created attachment 202590 [details]
project dir
Comment 2 Razvan Ionescu CLA 2011-09-01 04:12:01 EDT
Created attachment 202592 [details]
full output from project -> build project
Comment 3 Andrew Gvozdev CLA 2011-09-01 11:04:36 EDT
That sounds like configuration issue. Cygwin works for me in Indigo. See http://wiki.eclipse.org/CDT/User/FAQ#I_installed_Cygwin_on_my_PC_but_Eclipse_won.27t_find_it. for the steps how cygwin toolchain is found.
Please ask at Eclipse Community Forums http://www.eclipse.org/forums/ - Language IDEs - CDT for any configuration issues.