I use Red Hat Enterprise in my school and I want to compile some c++11 code but the gcc --version is 4.4.7 which is not compatible. Is that one the latest version in the red hat repositories? is there any compiler that can be installed quickly using yum and that supports c++11?
Supported way how to have more recent gcc is a special software collection with development tools called Developer Toolset. It contains GCC 4.8.1, which implements C++11 standard.