[CentOS] Raspberry Pi 4 and C++ 17

Mon Apr 25 21:18:30 UTC 2022
Leon Fauster <leonfauster at googlemail.com>

Am 25.04.22 um 23:07 schrieb Kenneth Porter:
> --On Monday, April 25, 2022 4:30 PM -0400 Will <aragonx at dcsnow.com> wrote:
> 
>> I sure did try that.  I also tried to install devtools (no luck there).
>>
>> [root at localhost source]# yum list installed binutils* gcc-c++* 
>> libc-devel*
> 
> I'd suggest checking Software Collections or COPR for newer devtools 
> built for CentOS 7. They'd install to /opt and you'd use the scripts to 
> set your path to use the alternate tools.


yum --enablerepo=extras install centos-release-scl centos-release-scl-rh

# yum list all |egrep "d.*gcc-c++"|column -t
devtoolset-10-gcc-c++.x86_64  10.2.1-11.2.el7  centos-sclo-rh
devtoolset-11-gcc-c++.x86_64  11.2.1-1.2.el7   centos-sclo-rh
devtoolset-3-gcc-c++.x86_64   4.9.2-6.el7      centos-vault-sclo-rh
devtoolset-4-gcc-c++.x86_64   5.3.1-6.1.el7    centos-vault-sclo-rh
devtoolset-6-gcc-c++.x86_64   6.3.1-3.1.el7    centos-vault-sclo-rh
devtoolset-7-gcc-c++.x86_64   7.3.1-5.16.el7   centos-sclo-rh
devtoolset-8-gcc-c++.x86_64   8.3.1-3.2.el7    centos-sclo-rh
devtoolset-9-gcc-c++.x86_64   9.3.1-2.2.el7    centos-sclo-rh

--
Leon