upvote

   apt install gcc-11

   CC=gcc-11 make 
?

If it’s not packaged and you’ve got to build it yourself, Godspeed. An if you’ve got to change libc versions…

reply
GCC is surprisingly simple to build, fortunately.
reply
Yeah it’s not too bad, but it does pull away from “so trivial it fits in a flippant HN comment”
reply
Does it? Admittedly, it has been a while but I don't remember it differing too much from the good old ./configure && make paradigm with a few flags to both commands.
reply
It’d fit in a comment, but not a flippant one ;)
reply