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
'yum upgrade' did the trick. 554 MB and 318 packages later and I have gcc 4.1.2.
Thanks,
Patrick
On 7/23/09 12:08 PM, "Lorenzo Quatrini" lorenzo.quatrini@gmail.com wrote:
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
Hi,
On Thu, Jul 23, 2009 at 12:02, Patrick Maypatrickm@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
I got the CentOS version from /etc/redhat-release and the gcc version from 'gcc -v'. This was probably done deliberately by one of my colleagues who did the original install.
pjm
On 7/23/09 12:43 PM, "Filipe Brandenburger" filbranden@gmail.com wrote:
Hi,
On Thu, Jul 23, 2009 at 12:02, Patrick Maypatrickm@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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos