Guys,
How can I install the latest version of gcc/g++ development tools on my centos ?
I have version 4.1.* on the machine.
Can I do above from yum ?
I would be glad to read your responses to my questions
Br
Kunle
yum install gcc yum install gcc-c++ 在 2015年02月23日 08:22, Adekoya Adekunle 写道:
Guys,
How can I install the latest version of gcc/g++ development tools on my centos ?
I have version 4.1.* on the machine.
Can I do above from yum ?
I would be glad to read your responses to my questions
Br
Kunle _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 2/22/2015 4:22 PM, Adekoya Adekunle wrote:
How can I install the latest version of gcc/g++ development tools on my centos ? I have version 4.1.* on the machine.
centos 6 cames with gcc 4.4.7, centos 7 uses 4.8.2. yum update should get you the latest supported release.
what version of centos do you have? gcc 4.1 is fairly old (2006-2007)
if you need newer versions of gcc and support than your version of CentOS supports, the only way to get them woujld be to build your own in to run in an alternate directory, such as /usr/local/gcc49, rather than replace the standard versions, otherwise you'll likely break things that depend on the standard version for your OS..
On 3/3/2015 4:13 PM, John R Pierce wrote:
On 2/22/2015 4:22 PM, Adekoya Adekunle wrote:
How can I install the latest version of gcc/g++ development tools on my centos ? I have version 4.1.* on the machine.
centos 6 cames with gcc 4.4.7, centos 7 uses 4.8.2. yum update should get you the latest supported release.
what version of centos do you have? gcc 4.1 is fairly old (2006-2007)
if you need newer versions of gcc and support than your version of CentOS supports, the only way to get them woujld be to build your own in to run in an alternate directory, such as /usr/local/gcc49, rather than replace the standard versions, otherwise you'll likely break things that depend on the standard version for your OS..
ok, gcc 4.1.2 was bundled with CentOS 5 (I forgot I had one centos 5 legacy test/dev system left alive)... you can yum install gcc44 gcc44-c++ to get 4.4.7, is that new enough? note this installs the compiler as /usr/bin/gcc44 and g++44 so you'll need to update any of your build scripts to specify gcc44 and/or g++44 to use this newer version.
On Sun, Feb 22, 2015 at 5:22 PM, Adekoya Adekunle <adekunleadekoya@gmail.com
wrote:
Guys,
How can I install the latest version of gcc/g++ development tools on my centos ?
The devtoolset is also available and it provides newer versions of gcc than what is available with the base OS. It seems that the "best" source for these packages for use with CentOS is at: http://linux.web.cern.ch/linux/devtoolset/