[CentOS] Raspberry Pi 4 and C++ 17

Mon Apr 25 23:11:30 UTC 2022
Bill Campbell <centos at celestial.com>

On Mon, Apr 25, 2022, Will wrote:
>On 4/25/2022 4:09 PM, Bill Campbell wrote:
>> On Mon, Apr 25, 2022, Will 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?
>> What program do you want to run on the Pi 4?
>> 
>> Bill
>It's something I wrote myself a few years ago that extensively uses
>std::filesystem.

Will,

Have you tried building on the current 64 bit Raspberry PI Linux?
My most recent install is running on an 8GB Pi 4+ in an Argon One M.2
case with 1TB SSD drive in a headless configuration.  I've built
over 300 packages from sources for amavisd through zlib on the Pi.
These are all packages I've been using for decades going back to
Caldera Linux and most recently CentOS.

I've had to install quite a few development packages using apt-get
on the Pi.  I could provide a complete list of installed packages
that could be used to quickly use apt-get install to pull in the
packages needed.

# dpkg-query -f '${binary:Package}\n' -W | sort > packages_list.txt
# comm -13 packages_list.txt mypackagelist > newpackages
# apt-get update
# apt-get install `cat newpackages`

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www2.celestial.com/ 6641 E. Mercer Way
Mobile:         (206) 947-5591  PO Box 820
Fax:            (206) 232-9186  Mercer Island, WA 98040-0820

...if it weren't for the the denial of common sense, most of our
public intellectuals would have nothing to do -- Tom Woods, Meltdown