Did you try:
sudo yum install gcc-c++ binutils libc-devel
???
Not sure what version of gcc-c++ that will get you. My CentOS 7 VPS has gcc-c++-4.8.5-44.el7.x86_64 on it, so I would assume the above should get you gcc-c++-4.8.5-44.el7.armv7hl. OTOH, my Raspberry Pi 4 build box with Raspberry Pi OS (based on Debian 10) has gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1). Maybe you should just get an up-to-date Raspberry Pi OS image. Then after 'sudo apt update;sudo apt full-upgrade -y' you can do 'sudo apt install g++ binutils libc-dev'.
At Mon, 25 Apr 2022 14:41:18 -0400 CentOS mailing list centos@centos.org wrote:
Hi,
I have a program I want to run on a Raspberry PI 4 that was written on an x86_64 architecture. So I downloaded the Raspberry PI image of CentOS 7 and now I'm on armv7hl. Unfortunately, there doesn't appear to be any devtools for arm at all. Is there an easy(ish) way to get c++ 17 this architecture?
Thank you!
Will
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos