Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22150

C Hello world: Code Blocks IDE, MinGW C compiler on windows

$
0
0

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?)


Viewing all articles
Browse latest Browse all 22150

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>