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
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
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 -- 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 Instead of giving money to found colleges to promote learning, why don't they pass a constitutional amendment prohibiting anybody from learning anything? If it works as good as the Prohibition one did, why, in five years we would have the smartest race of people on earth. -- The Best of Will Rogers
Hello Will, maybe package manager like spack[1] or guix[2] might help. [1] https://spack.readthedocs.io/en/latest/index.html [2] https://guix.gnu.org/ best, Juraj -----Original Message----- From: Will <aragonx at dcsnow.com> Reply-To: CentOS mailing list <centos at centos.org> To: CentOS at centos.org Subject: [CentOS] Raspberry Pi 4 and C++ 17 Date: Mon, 25 Apr 2022 14:41:18 -0400 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
On 26/04/22 6:41 am, 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?Rocky Linux 8 has gcc-toolset-11 for aarch64 with an rpi-installible image. That has support for C++ 17. Peter