Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367340 - Cannot run cygwin gcc due to symlink
Summary: Cannot run cygwin gcc due to symlink
Status: RESOLVED DUPLICATE of bug 364733
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 10:34 EST by tim.froidcoeur+eclipse CLA
Modified: 2011-12-21 10:56 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tim.froidcoeur+eclipse CLA 2011-12-21 10:34:38 EST
build with Cygwin GCC and CDT internal builder fails
Error: Cannot run program "gcc": Launching failed

The gcc in cygwin in my case is a symlink (because I have installed both gcc3 and gcc4, so cygwin works via /etc/alternatives with symlinks).
I suspect this prevents eclipse from running gcc. If I explicitly set gcc-4 in the build settings as the C compiler command and linker it works.
Comment 1 Andrew Gvozdev CLA 2011-12-21 10:56:34 EST
You can try External Builder as workaround.

*** This bug has been marked as a duplicate of bug 364733 ***