Do take a look at Linux @ CERN for the documentation on how to use yum to install devtoolset which contain the following packages. The latest version for CentOS 6 is devtoolset-2.1. Here is a summary of the Linux @ CERN
CentOS 6 / SL 6
Developer Toolset 2.1 provides following tools:
- gcc/g++/gfortran – GNU Compiler Collection – version 4.8.2
- gdb – GNU Debugger – version 7.6.34
- binutils – A GNU collection of binary utilities – version 2.23.52
- elfutils – A collection of utilities and DSOs to handle compiled objects – version 0.155
- dwz – DWARF optimization and duplicate removal tool – version 0.11
- systemtap – Programmable system-wide instrumentation system – version 2.1
- valgrind – Tool for finding memory management bugs in programs – version 3.8.1
- oprofile – System wide profiler – version 0.9.8
- eclipse – An Integrated Development Environment – version 4.3.1 (Kepler)
CentOS 5 / SL 5
Developer Toolset 1.1 provides following tools:
- gcc/g++/gfortran – GNU Compiler Collection – version 4.7.2
- gdb – GNU Debugger – version 7.5
- binutils – A GNU collection of binary utilities – version 2.23.51
- elfutils – A collection of utilities and DSOs to handle compiled objects – version 0.154
- dwz – DWARF optimization and duplicate removal tool – version 0.7
- systemtap – Programmable system-wide instrumentation system – version 1.8
- valgrind – Tool for finding memory management bugs in programs – version 3.8.1
- oprofile – System wide profiler – version 0.9.7
Installation and Enablement
CentOS 6 / SL 6
Save repository information as /etc/yum.repos.d/slc6-devtoolset.repo on your system:
# cd /etc/yum.repos.d/ # wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo # yum install devtoolset-2 --nogpgcheck # scl enable devtoolset-2 bash
CentOS 5 / SL 5
Save repository information as /etc/yum.repos.d/slc5-devtoolset.repo on your system:
# cd /etc/yum.repos.d/ # wget -O /etc/yum.repos.d/slc5-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc5-devtoolset.repo # yum install devtoolset-1.1 # scl enable devtoolset-1.1 bash