Re: Raspberry Pi 4 and C++ 17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I think things are different because I'm on a Raspberry PI using armv7hl instead of x86_64.

[root@localhost ~]# yum --enablerepo=extras install centos-release-scl centos-release-scl-rh
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.chpc.utah.edu
 * centos-kernel: ftp.osuosl.org
 * extras: mirror.vacares.com
 * updates: mirror.vacares.com
No package centos-release-scl available.
No package centos-release-scl-rh available.
Error: Nothing to do
[root@localhost ~]# yum list all |egrep "d.*gcc-c++"|column -t

Doesn't look like that will work here.  I did do that on my main machine that is x86_64.  Devtools is installed there and working fine.  I even scripted the install.  Just doesn't work on the Raspberry PI version.  For instance, this is what I get from my main x86_64 dev box:

[root@home:~]# yum list all |egrep "d.*gcc-c++"|column -t
devtoolset-8-gcc-c++.x86_64   8.3.1-3.2.el7    @centos-sclo-rh
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-7-gcc-c++.x86_64   7.3.1-5.16.el7   centos-sclo-rh
devtoolset-9-gcc-c++.x86_64   9.3.1-2.2.el7    centos-sclo-rh

I think I found a custom built devtoolset-8 for armv7hl.  Just haven't gotten it to work yet.  :(

---
Will

On 4/25/2022 5:18 PM, Leon Fauster via CentOS wrote:
Am 25.04.22 um 23:07 schrieb Kenneth Porter:
--On Monday, April 25, 2022 4:30 PM -0400 Will <aragonx@xxxxxxxxxx> wrote:

I sure did try that.  I also tried to install devtools (no luck there).

[root@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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux