[CentOS] Raspberry Pi 4 and C++ 17

Mon Apr 25 19:06:39 UTC 2022
Robert Heller <heller at deepsoft.com>

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 at 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 at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services