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

Thu Jul 23 16:08:35 UTC 2009
Lorenzo Quatrini <lorenzo.quatrini at gmail.com>

Patrick May ha scritto:
>     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
> 
Yes, I guess: on my pc I get

rpm -q centos-release
centos-release-5-3.el5.centos.1.i386

rpm -q gcc
gcc-4.1.2-44.el5.i386

-- 
Regards
Lorenzo