if you want to use the version of gcc5.1 that almost NO software has YET been upgraded to
then install Fedora 22
cent is a rebuild of RedHat
a VERY VERY VERY!!!! conservative operating system
they use OLDER AND VERY WELL tested older versions of software
CentOS/RHEL will NEVER!!!! have the NEWEST software
mind you not many programs have been YET!!! updates to build using the NEW gcc 5.1 compiller
YOU!!! will NEED to port the software you are building
but seeing as you do not YET know what to do with a autotools" configure.ac file
or the *.m4 files
i doubt you will be able to rewrite the software
CentOS 7 uses Gcc 4.8
USE THAT DEFAULT compiler
changing it CAN CAUSE MAJOR PROBLEMS if caution is not taken
Code:
su -
yum groupinstall "Development Tools"
that will install the default compiler