When you are getting below error while compiling .
Configuring for Linux-x86_64
Checking for gcc : No
Checking for cc : No
error: no C compiler found
Configuring for Linux-x86_64
Checking for gcc : No
Checking for cc : No
error: no C compiler found
try
yum groupinstall "Development Tools"
After that you can try the compilation of Code Blocks again.