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
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
Hi, On Thu, Jul 23, 2009 at 12:02, Patrick May<patrickm at gigaspaces.com> wrote:> ? ?I have a CentOS 5.2 installation with gcc 3.4.6 as the default.I find that hard to believe, considering that CentOS 5 (5.0!) shipped with version 4.1.1-52.el5 of gcc. Would you care to double check your facts? Check the contents of /etc/redhat-release, rpm -q centos-release, rpm -q gcc, etc. HTH, Filipe