I set up CDT for eclipse and wrote a simple hello world C program:
#include
int main(void){
puts(\"Hello, world.\");
return 0;
}
just adding to the knowledge base, i just did this on win7 with cygwin.
this is what seems to work for me.
include paths for c:
D:\dev\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include
D:\dev\cygwin\usr\include
include paths for c++:
D:\dev\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include
D:\dev\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include\c++
D:\dev\cygwin\usr\include
this gets me a clean compile of hello world.