After updating my Raspbian Pi 4B through
sudo apt update && sudo apt upgrade -y, I noticed that it has quite old GCC/G++ version
8.3.0 while there exists already release of
Can anyone suggest how can I install a newer one? Preferably through some apt server that has package with recent version.
In Google I see that there exists such tutorial that installs GCC version 10. It is also an option, but yet APT-based solution would be more comfortable for me if possible.
Also this tutorial is about v10, but there exists 11.2. So maybe anyone can suggest were to get v11.2 compiled for CPU compatible with Pi 4B.
Just for information my
uname -a shows:
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
lsb_release -d shows:
Raspbian GNU/Linux 10 (buster)
My distro seems to be marked as
oldstable right now that I can see when doing
apt search gcc, it shows
gcc/oldstable,now 4:8.3.0-1+rpi2 armhf [installed] (notice
Also if my Raspbian version is too old, and newer version contains more updated GCC, then can anyone suggest shell commands how to upgrade my distro to newest possible? Without re-imagining whole flash from scratch.