๐ŸŒ
GNU
gcc.gnu.org โ€บ releases.html
GCC Releases - GNU Project
April 30, 2026 - GCC releases may be downloaded from our mirror sites. Important: these are source releases, so will be of little use if you do not already have a C++ compiler installed. As one option, there are pre-compiled binaries. for various platforms. You can also retrieve our sources using Git. The table is sorted by date. Please refer to our development plan for an alternative view of the release history...
optimizing compiler produced by the GNU Project, key component of the GNU tool-chain and standard compiler for most projects related to GNU and the Linux kernel.
GCC_10.2_GNU_Compiler_Collection_self-compilation.png
gcc 11 1 0 compiling chicken screenshot
The GNU Compiler Collection (GCC; formerly GNU C Compiler) is a collection of compilers from the GNU Project that support various programming languages, hardware architectures, and operating systems. The Free Software Foundation โ€ฆ Wikipedia
Factsheet
Original author Richard Stallman
Developer GNU Project
Initial release March 22, 1987; 39 years ago (1987-03-22)
Factsheet
Original author Richard Stallman
Developer GNU Project
Initial release March 22, 1987; 39 years ago (1987-03-22)
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ GNU_Compiler_Collection
GNU Compiler Collection - Wikipedia
2 days ago - As of the 16.1 release, GCC includes front ends for C (gcc), C++ (g++), Objective-C, Objective-C++, Fortran (gfortran), Ada (GNAT), Go (gccgo), D (gdc, since 9.1), Modula-2 (gm2, since 13.1), Rust (gccrs, since 15.1), COBOL (gcobol, since 15.1), and ALGOL 68 (ga68, since 16.1) programming languages, with the OpenMP and OpenACC parallel language extensions being supported since GCC 5.1. Versions prior to GCC 7 also supported Java (gcj), allowing compilation of Java to native machine code.
Discussions

How important are gcc versions?
Typically, you should just use the latest version available in your distro. The only reason to use an older version is when you're working on a project that's effectively stuck on that version due to weird quirks or some other constraint that explicitly ties you to a certain version. You can also just download the latest version if your distro is lagging behind. As for changes, you can check on the website. Here's GCC 14's change summary , for example. In general, when the N in GCC N changes, that's a big, destabilizing change. Those tend to introduce a large amount of changes and/or a large change to a major component. If the decimal increments, then that introduces fixes and minor improvements that won't cause any potential conflicts when updating. More on reddit.com
๐ŸŒ r/C_Programming
32
17
May 13, 2024
c++ - How to Check the Version of my gcc? - Stack Overflow
In file included from /usr/include/c++/4.8.2/locale:41:0, from /usr/include/c++/4.8.2/iomanip:43, from [...omitted by myself as it is irrelevant] /usr/include/c++/... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Confusing GCC versions. What is the latest GCC 6.1 released 2016-04-27 or GCC 4.9.4 released 2016-08-03?
There are multiple active release branches. If there are significant bugs in 4.9.3 then a 4.9.4 release will be made to fix them, even though the current branch is 6.1. Not everyone can use the most recent branch for complicated reasons. If you are one of the people that has to use the 4.9 series, then having that bugfix release really helps, because you can know with relative confidence that upgrading from 4.9.3 to 4.9.4 won't introduce any new features or regressions, only fixes; that cannot be said of upgrading from 4.9.3 to, say, 5.4. More on reddit.com
๐ŸŒ r/cpp
16
0
August 16, 2016
How do I obtain a specific old version of GCC?
On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge. If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options: Limiting your involvement with Reddit, or Temporarily refraining from using Reddit Cancelling your subscription of Reddit Premium as a way to voice your protest. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
๐ŸŒ r/learnprogramming
5
1
January 31, 2024
๐ŸŒ
GNU
gcc.gnu.org โ€บ develop.html
GCC Development Plan - GNU Project
April 30, 2026 - | +-- GCC 3.0 branch created ------+ | (Feb 12 2001) \ | v v GCC 3.0 release (Jun 18 2001) New development plan announced \ | (Jul 18 2001) v | GCC 3.0.1 release (Aug 20 2001) | \ v v GCC 3.1 Stage 1 (ended Oct 15 2001) GCC 3.0.2 release (Oct 25 2001) | \ v v GCC 3.1 Stage 2 (ended Dec 19 2001) ...
๐ŸŒ
Reddit
reddit.com โ€บ r/c_programming โ€บ how important are gcc versions?
r/C_Programming on Reddit: How important are gcc versions?
May 13, 2024 -

I have started getting unto assembly and optimising code and I was wandering how important if at all is it to upgrade the computer I am using.

Currently I am on gcc 11.4 which feels fairly old at this point when I am looking at what's out there.

Are the differences between versions thst big or is it generally fairly unimportant

๐ŸŒ
Computer History Wiki
gunkies.org โ€บ wiki โ€บ Gcc
Gcc - Computer History Wiki
GCC 1.42, in particular, followed Linux for quite a while before finally moving to GCC 2.x ยท While 2.x versions of GCC were very stable (2.5.8 and beyond) the project started to stagnate, and it lead to the EGCS project just after the 2.7 releases of GCC. The EGCS work was rolled back in for a 2.95 release of GCC, then going forward for 3.0 once it had stabilized.
๐ŸŒ
ArchWiki
wiki.archlinux.org โ€บ title โ€บ GNU_Compiler_Collection
GNU Compiler Collection - ArchWiki
Other front-ends for old versions of GCC may be found on the official repositories and the AUR by searching for gcc<version_without_period>, e.g.
Top answer
1 of 3
15

The symlink to the 4.8.2 directory is nothing to worry about, it's normal for the libstdc++ headers on Red Hat Enterprise Linux (and therefore CentOS) to be arranged like that.

gcc --version will tell you the version of the gcc executable in your path.

rpm -q libstdc++-devel will tell you the version of the package that owns the C++ standard library headers.

rpm -ql libstdc++-devel will list the files installed by that package, which will include the files under /usr/include/c++/4.8.2

rpm --verify libstdc++-devel will check that you haven't messed up the C++ headers by replacing them with something else.

The error is more concerning, that implies you have messed something up. My guess would be it's in the from [...omitted by myself as it is irrelevant] part, which may actually be very relevant. std::locale should be declared in <bits/locale_classes.h> which is included before <bits/locale_facets_nonio.h>, so if it wasn't declared my guess is that you have some header that defines _LOCALE_CLASSES_H and prevents the standard library header from being read. Do not define include guards that start with underscores, they are reserved names.

2 of 3
3

I am not quite sure but below is more information

Stackoverflow: version of libc

Copy$ /lib/x86_64-linux-gnu/libc.so.6 
GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6) stable release version 2.19, by Roland McGrath et al.
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.8.2.
Compiled on a Linux 3.13.9 system on 2014-04-12.
Available extensions:
    crypt add-on version 2.1 by Michael Glad and others
    GNU Libidn by Simon Josefsson
    Native POSIX Threads Library by Ulrich Drepper et al
    BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/eglibc/+bugs>.
mandar@ubuntu:~/Desktop$ 
Find elsewhere
๐ŸŒ
Tamu
hprc.tamu.edu โ€บ kb โ€บ Software โ€บ GNU-Compiler-Collection
GNU Compiler Collection (GCC) - Texas A&M HPRC
It is not recommended to use this GCC version for research compiling purposes. It typically lags - and considerably so - the most recently available version of GCC, which is 12.2.0 as of this writing. Also, the basic operating system does not include the additional libraries required to take advantage of HPC hardware.
๐ŸŒ
GNU Project
gnu.ist.utl.pt โ€บ software โ€บ gcc โ€บ releases.html
GCC Releases - GNU Project - Free Software Foundation (FSF)
The table is sorted by date; starting with version 3.3.4, the GCC project provides bug releases for older release branches for those users who require a very high degree of stability. Please refer to our development plan for future releases, and an alternative view of the release history.
๐ŸŒ
Wide
ftp.tsukuba.wide.ad.jp โ€บ software โ€บ gcc โ€บ releases
Index of /software/gcc/releases/
Index of /software/gcc/releases/ ยท Tsukuba WIDE public mirror service
๐ŸŒ
Simplifycpp
simplifycpp.org
The History of the C++ GCC Compiler From Inception to ...
Since its creation, GCC has undergone several stages and updates that have contributed to improving its performance and increasing its adoption. Hereโ€™s a look at some of the key milestones in GCCโ€™s development: Initial Release (1987): Stallman ...
๐ŸŒ
Substack
machaddr.substack.com โ€บ andrรฉ machado | blog โ€บ an in-depth exploration of gcc: history, variants, and internal architecture
An In-Depth Exploration of GCC: History, Variants, and Internal Architecture
October 28, 2024 - The goal was to provide users with a freely accessible and modifiable compiler to create software for the GNU system. The first version, released in 1987, only supported the C programming language.
๐ŸŒ
Nig
sc.ddbj.nig.ac.jp โ€บ en โ€บ guides โ€บ software โ€บ DevelopmentEnvironment โ€บ gcc
C/C++ (GCC: GNU Compiler Collection)
For more information, refer to the manuals for each version). ... The rpm package included in CentOS 7 is GCC ver.4.8. series. Ver. 4.8 is an old version, so it is recommended to install a newer version. You can switch to ver. 9 as a newer version, so just install and use ver.
๐ŸŒ
Reddit
reddit.com โ€บ r/learnprogramming โ€บ how do i obtain a specific old version of gcc?
r/learnprogramming on Reddit: How do I obtain a specific old version of GCC?
January 31, 2024 -

Hi, as part of a project with studying old software, I'd like to get the source code for GCC 2.6.3. https://gcc.gnu.org/releases.html shows that it released November 30, 1994. But there's no link attached to it. How would I dig back in the development history to get a copy of that source code? I think I would need to do some kind of git command, but I don't know enough git to be able to actually do that. I do want to see the source code, and don't really care if it also has an executable or not.

Thanks!

๐ŸŒ
Red Hat
developers.redhat.com โ€บ articles โ€บ 2023 โ€บ 05 โ€บ 04 โ€บ new-c-features-gcc-13
New C features in GCC 13 | Red Hat Developer
April 4, 2024 - The latest major version of the GNU Compiler Collection (GCC), 13.1, was released in April 2023. Like every major GCC release, this version will bring many additions, improvements, bug fixes, and new features.