Sample Header Ad - 728x90

Is it possible to build an up-to-date version of the g++ (14/13) on Raspberry Pi running Debian 12 arm64?

0 votes
1 answer
628 views
I am puzzled. There is seemingly no newer Debian image for Raspberry Pi than the current stable version 12 (bookworm). I have downloaded and installed it just when it went out without issues, I remember. Link to all tested images here . My Pi's HW is _4 (8GB)_. Just to be clear, I am all Ok with Debian's aim to be rock-stable. Just one thing, if I may poke. *** I wonder if it is possible to build an up-to-date version of the g++ (14) on my arm64 Raspberry Pi running Debian 12? (Today, I somewhat needed it, but found out, an older g++-12 available _only_, it caused me only minor trouble this time.) And if yes, how would I proceed exactly? I have no clue. *** Here is what g++ versions I found available on Linux Mint 22 (based on Ubuntu Noble), i.e. version 10+:
$ apt-cache policy g++-1[0-9] | grep -A 2 '^g++-1'

g++-10:
  Installed: (none)
  Candidate: 10.5.0-4ubuntu2
--
g++-11:
  Installed: (none)
  Candidate: 11.4.0-9ubuntu1
--
g++-12:
  Installed: 12.3.0-17ubuntu1
  Candidate: 12.3.0-17ubuntu1
--
g++-13:
  Installed: 13.3.0-6ubuntu2~24.04
  Candidate: 13.3.0-6ubuntu2~24.04
--
g++-14:
  Installed: 14.2.0-4ubuntu2~24.04
  Candidate: 14.2.0-4ubuntu2~24.04
For reference, here are currently available versions on Pi's Debian 12, i.e. versions 10+, as above:
$ apt-cache policy g++-1[0-9] | grep -A 2 '^g++-1'

g++-10:
  Installed: (none)
  Candidate: (none)
--
g++-11:
  Installed: (none)
  Candidate: 11.3.0-12
--
g++-12:
  Installed: 12.2.0-14
  Candidate: 12.2.0-14
--
g++-13:
  Installed: (none)
  Candidate: (none)
*** Nope, no sign of g++-14, not even g++-13 available (yet). So, my question above stands. Thank you in advance.
Asked by Vlastimil Burián (30515 rep)
Dec 19, 2024, 08:17 PM
Last activity: Dec 19, 2024, 11:22 PM