devtoolset-7-gcc access

General support questions
Post Reply
gw1500se
Posts: 141
Joined: 2012/05/07 13:53:35

devtoolset-7-gcc access

Post by gw1500se » 2018/10/23 18:42:02

I've installed devtoolset-7-gcc but I can't find how to enable it or where it was installed. If I run gcc --version, I get the default (4.8.5 20150623) and I can't find gcc from the install. I've read where I am supposed to enable it with 'sc1' but package 'centos-release-sc1' (Software Collections) does not seem to exist for CentOS 7. Can someone help me with this? TIA.

User avatar
TrevorH
Forum Moderator
Posts: 23879
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: devtoolset-7-gcc access

Post by TrevorH » 2018/10/23 19:01:10

It's scl (SCL) not sc1. You have to do stuff like scl enable name-of-collection bash to get a bash prompt all set up ready to run it.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

gw1500se
Posts: 141
Joined: 2012/05/07 13:53:35

Re: devtoolset-7-gcc access

Post by gw1500se » 2018/10/23 19:56:31

Sheesh. How dumb is that? Thanks.

Post Reply