- GCC Releases
- GCC Timeline
- Пакет: gcc (4:11.2.0-1ubuntu1)
- Original Maintainers (usually from Debian):
- Подобные пакеты:
- GNU C compiler
- Другие пакеты, относящиеся к gcc
- Загрузка gcc
- Installing the GNU C compiler and GNU C++ compiler
- Installing the GNU Java compiler
- Installing the GNU Fortran compilers
- Installing the GNU autotools
- 32-bit Builds on AMD64
- Installing the Intel Compiler Suite Professional Edition 10.x
- Get the License Number and Extract to a path without spaces
- On 64-bit systems you may also need to issue these commands
- Run the Installation Script
- Edit /etc/bash.bashrc to add the installation path to the PATH environment variable
- Installing the X11 development compilers
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 |
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.
Пакет: gcc (4:11.2.0-1ubuntu1)
Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.
Original Maintainers (usually from Debian):
It should generally not be necessary for users to contact the original maintainer.
Подобные пакеты:
- gcc-10
- gcc-7
- gcc-8
- gcc-11
- gcc-12
- gcc-13
- gcc-hppa64-linux-gnu
- gcc-10-hppa64-linux-gnu
- gcc-7-hppa64-linux-gnu
- gcc-8-hppa64-linux-gnu
- gcc-9-hppa64-linux-gnu
GNU C compiler
Другие пакеты, относящиеся к gcc
- зависимости
- рекомендации
- предложения
- enhances
- dep: cpp (= 4:11.2.0-1ubuntu1) GNU C preprocessor (cpp)
- dep: gcc-11 (>= 11.2.0-1~) GNU C compiler
- rec: libc6-dev GNU C Library: Development Libraries and Header Files или libc-dev виртуальный пакет, предоставляемый libc6-dev
- sug: autoconf automatic configure script builder
- sug: automake Tool for generating GNU Standards-compliant Makefiles
- sug: bison YACC-compatible parser generator
- sug: flex fast lexical analyzer generator
- sug: gcc-doc Documentation for the GNU C compilers (gcc, gobjc, g++)
- sug: gcc-multilib GNU C compiler (multilib files)
- sug: gdb GNU Debugger
- sug: libtool Generic library support script
- sug: make utility for directing compilation
- sug: manpages-dev Manual pages about using GNU/Linux for development
Загрузка gcc
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
amd64 | 5,0 Кб | 50,0 Кб | [список файлов] |
arm64 | 5,0 Кб | 50,0 Кб | [список файлов] |
armhf | 5,0 Кб | 50,0 Кб | [список файлов] |
i386 | 5,1 Кб | 64,0 Кб | [список файлов] |
ppc64el | 5,0 Кб | 50,0 Кб | [список файлов] |
riscv64 | 5,0 Кб | 50,0 Кб | [список файлов] |
s390x | 5,0 Кб | 50,0 Кб | [список файлов] |
This page is also available in the following languages:
Авторские права © 2023 Canonical Ltd.; См. условия лицензии. Ubuntu это торговый знак компании Canonical Ltd. Об этом сайте.
Installing the GNU C compiler and GNU C++ compiler
To install the gcc and g++ compilers, you will need the build-essential package. This will also install GNU make.
build-essential contains a list of packages which are essential for building Ubuntu packages including gcc compiler, make and other required tools.
$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install build-essential $ gcc -v $ make -v
Now, you should able to compile software using C / C++ compilers.
To install the manpages for c and c++ development, install the manpages-dev package.
Installing the GNU Java compiler
Note that GNU’s Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see Java. To install gcj, the GNU Java compiler, install the following package: gcj.
To install the GNU Java bytecode interpreter, you need the gij package.
To have gcj compile to executables, install libgcj6-dev (otherwise an error during compilation occurs: libgcj.spec: No such file or directory). Use synaptic to install libgcj6-dev.
Installing the GNU Fortran compilers
To install the GNU Fortran 77 compiler — g77, you need the g77 package.
To install the GNU Fortran 95 compiler — gfortran, the package is: gfortran.
Installing the GNU autotools
To install autoconf and automake, you need the autoconf and automake packages.
Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, you need to specify the version, such as the automake1.9 package.
32-bit Builds on AMD64
The GNU compilers have options that allow them to create 32-bit object and executable files on 64-bit operating systems, and vica versa. The critical options are -m32 (to build 32-bit) and -m64 (to build 64-bit).
These options will be present when you install the compiler of your choice. However, they won’t actually work unless you install several additional packages.
The first thing you will need is the multilib package for the compiler you are using. For example, to add multilib support to the default version of g++ (4.1 in gutsy), you would install
The multilib packages are compiler runtime packages. Now, you need 32-bit (or 64-bit) versions of whatever libraries you need to link your application program. 64-bit packages have names that start with lib64. Install these on 32-bit systems to support 64-bit builds. 32-bit packages have names that start with lib32. Install these on 64-bit systems to support 32-bit builds. Whatever else you are doing, you will probably need . If you are using g++, you will need
Installing the Intel Compiler Suite Professional Edition 10.x
- gcc, build-essential, libc6-dev (see above)
- ia32-libs, g++-multilib, and libc6-dev-i386 (for 64-bit systems)
- 32-bit packages starting with lib32 (for 64-bit systems)
- alien and rpm for installing the RPM packages that Intel distributes.
- libstdc++5 and libstdc++5-3.3-dev for good measure because Intel’s builds depend on these runtimes.
before you attempt installing the Intel Compiler Suite.
Get the License Number and Extract to a path without spaces
Ensure that you have obtained the license number for your installation and extracted the downloaded installation archive into a path that does not contain any spaces. This last statement is utterly important. The installer script that comes with the package has a bug that does not allow you to install the compiler suite if you have any spaces in the installer script path.
On 64-bit systems you may also need to issue these commands
# cd /usr/lib32 # ln -s libpthread.so libpthread.so.0 # ln -s libm.so libm.so.6 # ln -s libc.so libc.so.6 # ln -s libdl.so libdl.so.2
because the chklic_32_64 license checking utility from Intel dynamically links to these libraries.
Once you’re done preparing to install the compiler suite, it’s time to go to the installer directory and install the compiler (be sure to also read through accompanying documentation; e.g., README, INSTALL.txt):
Run the Installation Script
$ cd /home/user/intel_compiler_suite $ sudo ./install.sh . Follow the wizard as it guides you through the installation process.
After installing the compiler, you need to tell your shell the location of these executables by adding their parent paths to the PATH environment variable.
Edit /etc/bash.bashrc to add the installation path to the PATH environment variable
export PATH=/opt/intel/cc/10.1.012/bin:/opt/intel/idb/10.1.012/bin:$
Where 10.1.012 is the version of the compiler suite installed.
Installing the X11 development compilers
Install script for X11 development libs
$ sudo apt-get -y install libx11-dev
InstallingCompilers (последним исправлял пользователь cable-31-58 2012-08-10 10:18:50)
The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details