I am running Code::Blocks version 13.12 on Mint 18.3. The compiler I use is gcc
version is either 5.4 or 6.0, for some reason both of them are in usr/lib/gcc/x86_64-linux-gnu
When I run the code (just a simple printf), it doesn't start an .exe, from a users standpoint, it does nothing.
Build log:
gcc -Wall  -c /home/alan/programiranje/bla.c -o /home/alan/programiranje/bla.o
g++  -o /home/alan/programiranje/bla /home/alan/programiranje/bla.o   
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
Checking for existence: /home/alan/programiranje/bla
Executing: xterm -T '/home/alan/programiranje/bla' -e /usr/bin/cb_console_runner "/home/alan/programiranje/bla" (in /home/alan/programiranje)
Process terminated with status -1 (0 minute(s), 0 second(s))
 
I tried installing gcc again and then restarting c::b, but no joy. 
Settings>Compiler>Toolchain executables screenshot is in the attachments.