I can't get Code Blocks IDE to compile the hello world C program it creates when you create a new C project. I've installed MinGW and it was recognised by the IDE. But when I try to build I get the following output:
-------------- Build: Debug in TestC3 (compiler: GNU GCC Compiler)---------------mingw32-gcc.exe -Wall -g -cC:\Users\jody\codeblocks\testc3\TestC3\main.c -o obj\Debug\main.omingw32-g++.exe -o bin\Debug\TestC3.exe obj\Debug\main.o Executionof 'mingw32-g++.exe -o bin\Debug\TestC3.exe obj\Debug\main.o' in'C:\Users\jody\codeblocks\testc3\TestC3' failed.
Why is it trying to run mingw32-g++.exe
as well as mingw32-gcc.exe
? (And if it shouldn't be doing this, how can I configure it not to?)