I am attempting to run a simple C project in Eclipse.
I have read through every single possible thread about setting up Eclipse and I thought I had everything correc
project->properties->c/c++ build-> tool chain editor->current toolchain
was crossGCC then change it to
MinGWGCC->apply and close and run program.
I hope this solution will work for you