Skip to content

Instantly share code, notes, and snippets.

@zchrissirhcz
Last active June 25, 2024 06:25
Show Gist options
  • Save zchrissirhcz/ee13f604996bbbe312ba1d105954d2ed to your computer and use it in GitHub Desktop.
Save zchrissirhcz/ee13f604996bbbe312ba1d105954d2ed to your computer and use it in GitHub Desktop.
Ubuntu Distro GCC GLIBC C++-Standard versions

Ubuntu Distro GCC GLIBC C++-Standard versions

GLIBC versions: https://launchpad.net/ubuntu/+source/glibc https://code.launchpad.net/ubuntu/+source/glibc

Get supported C++ standards by current installed GCC by one-line command:

gcc -v --help 2> /dev/null | grep -iv deprecated | grep "C++" | sed -n '/^ *-std=\([^<][^ ]\+\).*/ {s//\1/p}'

https://stackoverflow.com/questions/34836775/compiler-standards-support-c11-c14-c17

NickName GLIBC version GCC version Supported C++ Standards ReleaseNotes
ubuntu 16.04.7 Xenial Xerus 2.23 5.4.0 c++03,c++11,c++14,c++1z,c++98 https://wiki.ubuntu.com/XenialXerus/ReleaseNotes
ubuntu 16.10 Yakkety Yak 2.24 >=5.3.1 https://wiki.ubuntu.com/YakketyYak/ReleaseNotes
ubuntu 17.04 Zesty Zapus 2.24 https://wiki.ubuntu.com/ZestyZapus/ReleaseNotes
ubuntu 17.10 Artful Aardvark 2.26 https://wiki.ubuntu.com/ArtfulAardvark/ReleaseNotes
ubuntu 18.04.6 Bionic Beaver 2.27 7.5.0 c++03,c++11,c++14,c++1z,c++98
ubuntu 20.04.5 Focal Fossa 2.31 9.4.0 c++03,c++11,c++14,c++17,c++2a,c++98
ubuntu 22.04.1 Jammy Jellyfish 2.35 11.2.0 c++03,c++11,c++14,c++17,c++20,c++23,c++2a,c++2b,c++98
ubuntu 23.10 Mantic Minotaur 2.38 13.2.0
ubuntu 24.04 Noble Numbat 2.39 13.2.0
ubuntu 24.10 Oracular Oriole 2.39 13.2.0 c++03,c++11,c++14,c++17,c++20,c++23,c++2a,c++2b,c++98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment