The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, and Go, as well as libraries for these languages (libstdc++,...). https://gcc.gnu.org
See https://gcc.gnu.org for releases.
Generating the RPM package
Makefile to ensure that you are setting the intended version, then run
make gcc6 make gcc7