I work on a computing cluster running CentOS6/RHEL6 that I share with ~100 other users, overseen by a single IT admin.
Recently, I started writing in C++, and some of my code depends on C++11. According to this webpage, C++11 is supported by gcc versions 4.8.1 and above.
Unfortunately, the computing cluster has version 4.4.7.
A little while ago, for a different reason, I tried to install gcc version 4.8.4 to a location under my home directory on the cluster. The installation failed, with this error message. Some Googling led me to believe I should update glibc, so I attempted to install a newer version of that to my home directory. That failed dramatically.
My IT admin concluded, "It probably won't work to modify the version of gcc on the cluster." Before I annoy her with more questions (because at this point I need an updated version of some C compiler), I'm crowd-sourcing these:
(1) Is installing gcc version 4.8.1+ to my user account feasible? (After I tried to do this last time, some people said it was fundamentally a terrible idea.)
(2) If the answer to (1) is yes, what precautions should I take this time to make sure the installation is successful? Is installing glibc to my account necessary? Is that feasible?
(3) If the answer to (1) is no, would it be feasible for my IT admin to install a newer version of gcc system-wide, without disrupting code that depends on the version already present?
(4) If none of the above is feasible for gcc, does the situation change with another C compiler?
To summarize, I'm looking for someone with knowledge of gcc (or another C compiler) to explain how a person (without sudo authority) would go about upgrading it, if that's possible.