>
span> span> span> span>>>
in Eclipse click on the menu window-& gt; Preferences-> C/C++-> New C/C++ Project Wizard-> Preferred Toolchains, the Project Type on the left selects one of the Executable, and toolchain(s) select MinGW GCC. Click make toolchain(s) Preferred to save