Eclipse CDT won't compile C files

I’m using Eclipse with CDT, and all Java projects compile OK.
When I try to run C projects i get “Launch failed. Binary not found.” It worked for the first time i compiled a C program, and newer again. I have both gcc and Tool Chain, and compiler rooth path set to /opt/ibmcmp. Ihave been looking for solution but no luck.

Also I get following errors:
Error launching external scanner info generator (/opt/ibmcmp/xlc -E -v /home/…/projekti/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) test -1 C/C++ Problem

and:
make: *** [test.o] Error 127 test 0 C/C++ Problem

I am having the exact problem…i searched for it but no fruitful solution.I cannot help u in this case but i can tell u that netbeans works very well with java,c,c++.Give it a try if possible…Iam using it.

Well I guess it wont, you need a compiler for it.
C/C++ development with the Eclipse platform, that says it.
I couldnt download and test it, but that should help, since we need the compiled stuff.

Confused… I have gcc and I can compile in console and it worked for the first time, so i think the compiler is not the problem.

It works owesome! For all others who are having problems, you need to add this repository: Index of /repositories/Education/openSUSE_11.1
for latest version of Netbeans, and u need to install some plugins whitch is idiot proof and easy.
For those who are learning Java I recomend BlueJ and BlueJ plugin for Netbeans.