[CentOS] Upgrading CentOS 5.2 to use gcc 4.x
Patrick May
patrickm at gigaspaces.com
Thu Jul 23 17:49:03 UTC 2009
'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 at 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
More information about the CentOS
mailing list