[CentOS] Package of GCC 12 on CentOS 7

Mon Jun 20 13:38:50 UTC 2022
Pete Biggs <pete at biggs.org.uk>

On Mon, 2022-06-20 at 09:20 -0400, Mike Burger wrote:
> On 2022-06-20 05:03, Pete Biggs wrote:
> > On Mon, 2022-06-20 at 09:31 +0100, david allan finch wrote:
> > > Is there an rpm of GCC 12 (or at least higher than 9) available to
> > > download and install, or is it a case of downloading and build from 
> > > the
> > > source yourself?
> > > 
> > That's what Software Collections is for.
> > 
> >   https://www.softwarecollections.org/
> > 
> > Specifically you need one of the devtoolset collections - it goes up to
> > 11 which, unsurprisingly, provides gcc-11 on CentOS 7. So:
> > 
> > # yum install centos-release-scl
> > # yum install devtoolset-11
> > # scl enable devtoolset-11 bash
> > 
> 
> Pete,
> 
> As David was asking about obtaining and installing GCC 12, wouldn't 
> installing GCC 11, as noted above,  leave him downlevel?
> 

He said "or at least higher than 9".  

P.