Компилятор gcc linux версия

GCC Releases

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.

GCC Timeline

The table is sorted by date. Please refer to our development plan for future releases and an alternative view of the release history.

Release Release date
GCC 10.5 July 7, 2023
GCC 11.4 May 29, 2023
GCC 12.3 May 8, 2023
GCC 13.1 April 26, 2023
GCC 12.2 August 19, 2022
GCC 10.4 June 28, 2022
GCC 9.5 May 27, 2022
GCC 12.1 May 6, 2022
GCC 11.3 April 21, 2022
GCC 11.2 July 28, 2021
GCC 9.4 June 1, 2021
GCC 8.5 May 14, 2021
GCC 11.1 April 27, 2021
GCC 10.3 April 8, 2021
GCC 10.2 July 23, 2020
GCC 10.1 May 7, 2020
GCC 9.3 March 12, 2020
GCC 8.4 March 4, 2020
GCC 7.5 November 14, 2019
GCC 9.2 August 12, 2019
GCC 9.1 May 3, 2019
GCC 8.3 February 22, 2019
GCC 7.4 December 6, 2018
GCC 6.5 October 26, 2018
GCC 8.2 July 26, 2018
GCC 8.1 May 2, 2018
GCC 7.3 January 25, 2018
GCC 5.5 October 10, 2017
GCC 7.2 August 14, 2017
GCC 6.4 July 4, 2017
GCC 7.1 May 2, 2017
GCC 6.3 December 21, 2016
GCC 6.2 August 22, 2016
GCC 4.9.4 August 3, 2016
GCC 5.4 June 3, 2016
GCC 6.1 April 27, 2016
GCC 5.3 December 4, 2015
GCC 5.2 July 16, 2015
GCC 4.9.3 June 26, 2015
GCC 4.8.5 June 23, 2015
GCC 5.1 April 22, 2015
GCC 4.8.4 December 19, 2014
GCC 4.9.2 October 30, 2014
GCC 4.9.1 July 16, 2014
GCC 4.7.4 June 12, 2014
GCC 4.8.3 May 22, 2014
GCC 4.9.0 April 22, 2014
GCC 4.8.2 October 16, 2013
GCC 4.8.1 May 31, 2013
GCC 4.6.4 April 12, 2013
GCC 4.7.3 April 11, 2013
GCC 4.8.0 March 22, 2013
GCC 4.7.2 September 20, 2012
GCC 4.5.4 July 2, 2012
GCC 4.7.1 June 14, 2012
GCC 4.7.0 March 22, 2012
GCC 4.4.7 March 13, 2012
GCC 4.6.3 March 1, 2012
GCC 4.6.2 October 26, 2011
GCC 4.6.1 June 27, 2011
GCC 4.3.6 June 27, 2011
GCC 4.5.3 April 28, 2011
GCC 4.4.6 April 16, 2011
GCC 4.6.0 March 25, 2011
GCC 4.5.2 December 16, 2010
GCC 4.4.5 October 1, 2010
GCC 4.5.1 July 31, 2010
GCC 4.3.5 May 22, 2010
GCC 4.4.4 April 29, 2010
GCC 4.5.0 April 14, 2010
GCC 4.4.3 January 21, 2010
GCC 4.4.2 October 15, 2009
GCC 4.3.4 August 4, 2009
GCC 4.4.1 July 22, 2009
GCC 4.4.0 April 21, 2009
GCC 4.3.3 January 24, 2009
GCC 4.3.2 August 27, 2008
GCC 4.3.1 June 6, 2008
GCC 4.2.4 May 19, 2008
GCC 4.3.0 March 5, 2008
GCC 4.2.3 February 1, 2008
GCC 4.2.2 October 7, 2007
GCC 4.2.1 July 18, 2007
GCC 4.2.0 May 13, 2007
GCC 4.1.2 February 13, 2007
GCC 4.0.4 January 31, 2007
GCC 4.1.1 May 24, 2006
GCC 4.0.3 March 10, 2006
GCC 3.4.6 March 06, 2006
GCC 4.1.0 February 28, 2006
GCC 3.4.5 November 30, 2005
GCC 4.0.2 September 28, 2005
GCC 4.0.1 July 7, 2005
GCC 3.4.4 May 18, 2005
GCC 3.3.6 May 3, 2005
GCC 4.0.0 April 20, 2005
GCC 3.4.3 November 4, 2004
GCC 3.3.5 September 30, 2004
GCC 3.4.2 September 6, 2004
GCC 3.4.1 July 1, 2004
GCC 3.3.4 May 31, 2004
GCC 3.4.0 April 18, 2004
GCC 3.3.3 February 14, 2004
GCC 3.3.2 October 17, 2003
GCC 3.3.1 August 8, 2003
GCC 3.3 May 13, 2003
GCC 3.2.3 April 22, 2003
GCC 3.2.2 February 05, 2003
GCC 3.2.1 November 19, 2002
GCC 3.2 August 14, 2002
GCC 3.1.1 July 25, 2002
GCC 3.1 May 15, 2002
GCC 3.0.4 February 20, 2002
GCC 3.0.3 December 20, 2001
GCC 3.0.2 October 25, 2001
GCC 3.0.1 August 20, 2001
GCC 3.0 June 18, 2001
GCC 2.95.3 March 16, 2001
GCC 2.95.2 October 24, 1999
GCC 2.95.1 August 19, 1999
GCC 2.95 July 31, 1999
EGCS 1.1.2 March 15, 1999
EGCS 1.1.1 December 1, 1998
EGCS 1.1 September 3, 1998
EGCS 1.0.3 May 15, 1998
EGCS 1.0.2 March 16, 1998
gcc 2.8.1 March 2, 1998
gcc 2.8.0 January 7, 1998
EGCS 1.0.1 January 6, 1998
EGCS 1.0 December 3, 1997
2.7.2.3 August 22, 1997
2.7.2.2 January 29, 1997
2.7.2.1 June 29, 1996
2.7.2 November 26, 1995
2.7.1 November 12, 1995
2.7.0 June 16, 1995
2.6.3 November 30, 1994
2.6.2 November 12, 1994
2.6.1 November 1, 1994
2.6.0 July 14, 1994
2.5.8 January 24, 1994
2.5.7 December 12, 1993
2.5.6 December 3, 1993
2.5.5 November 27, 1993
2.5.4 November 16, 1993
2.5.3 November 11, 1993
2.5.2 November 1, 1993
2.5.1 October 31, 1993
2.5.0 October 22, 1993
2.4.5 June 20, 1993
2.4.4 June 19, 1993
2.4.3 June 1, 1993
2.4.2 May 31, 1993
2.4.1 May 26, 1993
2.4.0 May 17, 1993
2.3.3 December 26, 1992
2.3.2 November 27, 1992
2.3.1 November 1, 1992
2.3 October 31, 1992
2.2.2 June 14, 1992
2.2.1 June 9, 1992
2.2 June 8, 1992
2.1 March 24, 1992
2.0 February 22, 1992
1.42.0 (g++) September 20, 1992
1.42 September 20, 1992
1.41 August 27, 1992
1.41.0 (g++) July 13, 1992
1.40.3 (g++) October 19, 1991
1.40 June 1, 1991
1.39.1 (g++) May 4, 1991
1.39 January 16, 1991
1.38 December 21, 1990
1.37.1 (g++) March 1, 1990
1.37.0 (g++) February 28, 1990
1.37.1 February 21, 1990
1.37 February 11, 1990
1.36.4 (g++) January 30, 1990
1.36.3 (g++) January 16, 1990
1.36 September 24, 1989
1.35 April 26, 1989
1.34 February 23, 1989
1.33 February 1, 1989
1.32 December 21, 1988
1.31 November 19, 1988
1.30 October 13, 1988
1.29 October 6, 1988
1.28 September 14, 1988
1.27 September 5, 1988
1.26 August 18, 1988
1.25 August 3, 1988
1.24 July 2, 1988
1.23 June 26, 1988
1.22 May 22, 1988
1.21 May 1, 1988
1.20 April 19, 1988
1.19 March 29, 1988
1.18 February 4, 1988
1.17 January 9, 1988
1.16 December 19, 1987
1.15.3 (g++) December 18, 1987
1.15 November 28, 1987
1.14 November 6, 1987
1.13 October 12, 1987
1.12 October 3, 1987
1.11 September 5, 1987 (announced late)
1.10 August 22, 1987
1.9 August 18, 1987 (never announced)
1.8 August 10, 1987
1.7 July 21, 1987
1.6 July 2, 1987
1.5 June 18, 1987
1.4 June 13, 1987
1.3 June 10, 1987
1.2 June 1, 1987
1.1 May 24, 1987
1.0 May 23, 1987
0.9 (first beta release) March 22, 1987
Читайте также:  Vs code удалить полностью linux

For questions related to the use of GCC, please consult these web pages and the GCC manuals. If that fails, the gcc-help@gcc.gnu.org mailing list might help. Comments on these web pages and the development of GCC are welcome on our developer list at gcc@gcc.gnu.org. All of our lists have public archives.

Copyright (C) Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

These pages are maintained by the GCC team. Last modified 2023-07-07.

Источник

How to Check GCC Version on Ubuntu

When working with C and C++ programming languages, it is essential to use a compatible compiler that supports the desired language features and optimizes the code accordingly. GCC, the GNU Compiler Collection, is a popular choice for compiling C, C++, Objective-C, Fortran, Ada, and other languages. It is crucial to know the version of GCC installed on your Ubuntu system to ensure that it supports the code you are working with, especially when dealing with recent language features or libraries.

In this guide, we will walk you through the process of checking the GCC version on an Ubuntu system. By following these steps, you will be able to determine if your system has the appropriate version of GCC installed and if an upgrade or downgrade is necessary to meet your development needs.

Open the Terminal

To begin, open the terminal application on your Ubuntu system. You can either search for “Terminal” in the applications menu or press Ctrl + Alt + T to open a new terminal window.

Читайте также:  How to check kernel version in linux

Option 1: “gcc –version”

Once the terminal is open, enter the following command to check the installed GCC version:

This command will display the current GCC version installed on your system, along with additional information about the compiler.

ehowstuff@ubuntu14:~$ gcc --version gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 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.

Option 2: “gcc -v”

Alternatively, you can type “gcc -v” command:

ehowstuff@ubuntu14:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

The “gcc -v” command provides more detailed information about your GCC installation compared to “gcc –version”. When you execute this command, it displays information about the compiler’s configuration, including the target system, supported languages, and the options used during the compilation process. This information can be helpful if you need to know the specifics of your GCC installation, such as the target architecture or enabled features.

Option 3: “aptitude show gcc”

Another alternative is to execute “aptitude show gcc” command:

ehowstuff@ubuntu14:~$ aptitude show gcc Package: gcc State: installed Automatically installed: yes Version: 4:4.8.2-1ubuntu6 Priority: optional Section: devel Maintainer: Ubuntu Developers Architecture: amd64 Uncompressed Size: 42.0 k Depends: cpp (>= 4:4.8.2-1ubuntu6), gcc-4.8 (>= 4.8.2-5~) Recommends: libc6-dev | libc-dev Suggests: gcc-multilib, make, manpages-dev, autoconf, automake1.9, libtool, flex, bison, gdb, gcc-doc Conflicts: gcc-doc (< 1:2.95.3), gcc-doc (< 1:2.95.3), gcc Provides: c-compiler Description: GNU C compiler This is the GNU C compiler, a fairly portable optimizing compiler for C. This is a dependency package providing the default GNU C compiler.

The "aptitude show gcc" command gives you information about the GCC package from the package manager's perspective. Aptitude is a package manager used in Debian and Ubuntu systems, and the command provides details such as the package version, dependencies, a description of the package, and its file size. This information can be useful when managing software packages on your system, especially when dealing with dependencies or determining which version of GCC is available through the package manager.

Читайте также:  Установить локальный сервер linux

Commands and Functions:

  • gcc - The GNU Compiler Collection command
  • --version - An option that displays the version information of the installed GCC
  • gcc -v - This command displays verbose information about the installed GCC version, including the configuration options used during the compilation process, supported languages, and the target architecture.
  • aptitude show gcc - This command provides detailed package information for the installed GCC compiler, including package version, dependencies, description, and file size. Aptitude is a package manager for Debian and Ubuntu systems that simplifies the management of software packages.

Conclusion

By following these steps, you have successfully checked the GCC version on your Ubuntu system. With this information, you can now determine whether your current GCC installation meets the requirements for your development projects. If necessary, you can upgrade or downgrade your GCC installation to a version that supports the desired language features and optimizations.

We hope this guide has been helpful in learning how to check the GCC version on your Ubuntu system. If you have any suggestions or improvements, please feel free to leave a comment below.

Источник

Оцените статью
Adblock
detector