Thursday, June 19, 2014

Devtools installation on Centos

Default gcc fails to compile linux 3.x source code. It required me to upgrade
devtools for CentOS.

cd /etc/yum.repos.d


yum install devtoolset-2-gcc
yum install devtoolset-2-binutils

export PATH=/opt/rh/.....:$PATH

check gcc -v which should be higher then default gcc version.

No comments:

Post a Comment