Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348414 - Permission denied to c/cygwin/bin/gcc
Summary: Permission denied to c/cygwin/bin/gcc
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-06 11:12 EDT by burcak CLA
Modified: 2011-06-07 09:54 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description burcak CLA 2011-06-06 11:12:44 EDT
Build Identifier: 20110218-0911

Hi,

I have been trying to use Eclipse Ganymede with the Cygwin Compiler. I have been trying to compile a basic c++ file drawing a square, but still having an error. 

I have changed the Environment Variable Path on My Computer, appended ;C:\cygwin\bin.

I have added the libraries glut,opengl32,glu32, and glut32 to Cygwin C++ Linker->Library, and set the Library Search Path: "c:\cygwin\lib". 

When I build the project, no executable file is formed in the debug folder.


This is the error I get:

make all 
Building file: ../square.c
Invoking: Cygwin C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"square.d" -MT"square.d" -o"square.o" "../square.c"
/usr/bin/sh: /c/cygwin/bin/gcc: Permission denied
make: *** [square.o] Error 126

Reproducible: Always
Comment 1 Andrew Gvozdev CLA 2011-06-07 09:54:00 EDT
This seems to be permission issue unrelated to eclipse. Quit eclipse and go to cmd shell (not cygwin! since build is run in Windows cmd shell). Navigate to build folder and run "make all". Chances are you get the same problem.