You can find out if you have GCC on your system. Someone explained to me how to do this. You use the "gcc --version" command. If you get it to tell you what version of gcc you have then you have gcc installed. If you try "g++ --version" and you get a version, then you have g++ installed.
GCC has a web: http://gnu.gcc.org
You can download GCC if you do not have it, but you need GCC to bulid it unless you can find a package rpm for your distribution. I had GCC 4.2, but I got errors when trying to compile the Linux kernel 2.4.36 and had to get an earlier version of GCC.