Also, you might want to consider checking gcc version numbers. 3.X+ is a lot pickier than 2.XX... (thought I would mention since no one else has touched this as of yet...) I'm not sure if gcc 3.x was part of RH 7.1 distro...but I know it is in 8.
Ammaross Danan

