[CentOS] Upgrading CentOS 5.2 to use gcc 4.x

Thu Jul 23 16:02:15 UTC 2009
Patrick May <patrickm at gigaspaces.com>

    I have a CentOS 5.2 installation with gcc 3.4.6 as the default.  I'd
like to upgrade the entire gcc tool chain, including libraries, to 4.x in
order to build some software that requires 4.1.0 or better.  Can I do this
easily through yum?  If I upgrade to 5.3 will I get gcc 4.x by default?

Thanks,

Patrick