Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356439 - Cygwin not recognized by toolchain,gives path errors with Indigo + CDT
Summary: Cygwin not recognized by toolchain,gives path errors with Indigo + CDT
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Recoskie CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 03:59 EDT by Razvan Ionescu CLA
Modified: 2011-09-01 11:04 EDT (History)
1 user (show)

See Also:


Attachments
project dir (4.28 KB, application/octet-stream)
2011-09-01 04:01 EDT, Razvan Ionescu CLA
no flags Details
full output from project -> build project (557 bytes, text/plain)
2011-09-01 04:12 EDT, Razvan Ionescu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.