Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
GNU Compiler Collection
Free and open-source compiler for various programming languages

The GNU Compiler Collection (GCC) is a versatile set of compilers developed by the GNU Project, supporting many programming languages like C, C++, Rust, and more. Distributed as free software by the Free Software Foundation under the GNU GPL, GCC is a core part of the GNU toolchain and widely used in developing Linux and other Unix-like systems. It supports numerous hardware architectures and operating systems, including Windows, Android, and iOS. Initially created by Richard Stallman for C in 1987, GCC has since grown into one of the largest free software projects and remains influential in both free and proprietary software development.

Related Image Collections Add Image
We don't have any YouTube videos related to GNU Compiler Collection yet.
We don't have any PDF documents related to GNU Compiler Collection yet.
We don't have any Books related to GNU Compiler Collection yet.
We don't have any archived web articles related to GNU Compiler Collection yet.

History

In late 1983, in an effort to bootstrap the GNU operating system, Richard Stallman asked Andrew S. Tanenbaum, the author of the Amsterdam Compiler Kit (also known as the Free University Compiler Kit) for permission to use that software for GNU. When Tanenbaum advised him that the compiler was not free, and that only the university was free, Stallman decided to work on a different compiler.11 His initial plan was to rewrite an existing compiler from Lawrence Livermore National Laboratory from Pastel to C with some help from Len Tower and others.1213 Stallman wrote a new C front end for the Livermore compiler, but then realized that it required megabytes of stack space, an impossibility on a 68000 Unix system with only 64 KB, and concluded he would have to write a new compiler from scratch.14 None of the Pastel compiler code ended up in GCC, though Stallman did use the C front end he had written.1516

GCC was first released March 22, 1987, available by FTP from MIT.17 Stallman was listed as the author but cited others for their contributions, including Tower for "parts of the parser, RTL generator, RTL definitions, and of the Vax machine description", Jack Davidson and Christopher W. Fraser for the idea of using RTL as an intermediate language, and Paul Rubin for writing most of the preprocessor.18 Described as the "first free software hit" by Peter H. Salus, the GNU compiler arrived just at the time when Sun Microsystems was unbundling its development tools from its operating system, selling them separately at a higher combined price than the previous bundle, which led many of Sun's users to buy or download GCC instead of the vendor's tools.19 While Stallman considered GNU Emacs as his main project, by 1990 GCC supported thirteen computer architectures, was outperforming several vendor compilers, and was used commercially by several companies.20

EGCS fork

As GCC was licensed under the GPL, programmers wanting to work in other directions—particularly those writing interfaces for languages other than C—were free to develop their own fork of the compiler, provided they meet the GPL's terms, including its requirements to distribute source code. Multiple forks proved inefficient and unwieldy, however, and the difficulty in getting work accepted by the official GCC project was greatly frustrating for many, as the project favored stability over new features.21 The FSF kept such close control on what was added to the official version of GCC 2.x (developed since 1992) that GCC was used as one example of the "cathedral" development model in Eric S. Raymond's essay The Cathedral and the Bazaar.

In 1997, a group of developers formed the Experimental/Enhanced GNU Compiler System (EGCS) to merge several experimental forks into a single project.2223 The basis of the merger was a development snapshot of GCC (taken around the 2.7.2 and later followed up to 2.8.1 release). Mergers included g77 (Fortran), PGCC (P5 Pentium-optimized GCC),24 many C++ improvements, and many new architectures and operating system variants.25

While both projects followed each other's changes closely, EGCS development proved considerably more vigorous, so much so that the FSF officially halted development on their GCC 2.x compiler, blessed EGCS as the official version of GCC, and appointed the EGCS project as the GCC maintainers in April 1999. With the release of GCC 2.95 in July 1999 the two projects were once again united.2627 GCC has since been maintained by a varied group of programmers from around the world under the direction of a steering committee.28

GCC 3 (2002) removed a front-end for CHILL due to a lack of maintenance.29

Before version 4.0 the Fortran front end was g77, which only supported FORTRAN 77, but later was dropped in favor of the new GNU Fortran front end that supports Fortran 95 and large parts of Fortran 2003 and Fortran 2008 as well.3031

As of version 4.8, GCC is implemented in C++.32

Support for Cilk Plus existed from GCC 5 to GCC 7.3334

GCC has been ported to a wide variety of instruction set architectures, and is widely deployed as a tool in the development of both free and proprietary software. GCC is also available for many embedded systems, including Symbian (called gcce),35 ARM-based, and Power ISA-based chips.36 The compiler can target a wide variety of platforms, including video game consoles such as the PlayStation 2,37 Cell SPE of PlayStation 3,38 and Dreamcast.39 It has been ported to more kinds of processors and operating systems than any other compiler.40[self-published source?][better source needed]

Supported languages

As of the 15.1 release,[update] GCC includes front ends for C (gcc), C++ (g++), Objective-C, Objective-C++, Fortran (gfortran), Ada (GNAT), Go (gccgo), D (gdc, since 9.1),4142, Modula-2 (gm2, since 13.1),4344 COBOL (gcobol, since 15.1) and Rust (gccrs, since 15.1) programming languages,45 with the OpenMP and OpenACC parallel language extensions being supported since GCC 5.1.4647 Versions prior to GCC 7 also supported Java (gcj), allowing compilation of Java to native machine code.48

Regarding language version support for C++ and C, since GCC 11.1 the default target is gnu++17, a superset of C++17, and gnu11, a superset of C11, with strict standard support also available. GCC also provides experimental support for C++20 and C++23.49

Third-party front ends exist for many languages, such as Java (gcj), ALGOL 68,50 Pascal (gpc), Mercury, Modula-3, VHDL (GHDL) and PL/I.51 A few experimental branches exist to support additional languages, such as the GCC UPC compiler for Unified Parallel C52.53[better source needed]

Design

GCC's external interface follows Unix conventions. Users invoke a language-specific driver program (gcc for C, g++ for C++, etc.), which interprets command arguments, calls the actual compiler, runs the assembler on the output, and then optionally runs the linker to produce a complete executable binary.

Each of the language compilers is a separate program that reads source code and outputs machine code. All have a common internal structure. A per-language front end parses the source code in that language and produces an abstract syntax tree ("tree" for short).

These are, if necessary, converted to the middle end's input representation, called GENERIC form; the middle end then gradually transforms the program towards its final form. Compiler optimizations and static code analysis techniques (such as FORTIFY_SOURCE,54 a compiler directive that attempts to discover some buffer overflows) are applied to the code. These work on multiple representations, mostly the architecture-independent GIMPLE representation and the architecture-dependent RTL representation. Finally, machine code is produced using architecture-specific pattern matching originally based on an algorithm of Jack Davidson and Chris Fraser.

GCC was written primarily in C except for parts of the Ada front end. The distribution includes the standard libraries for Ada and C++ whose code is mostly written in those languages.55[needs update] On some platforms, the distribution also includes a low-level runtime library, libgcc, written in a combination of machine-independent C and processor-specific machine code, designed primarily to handle arithmetic operations that the target processor cannot perform directly.56

GCC uses many additional tools in its build, many of which are installed by default by many Unix and Linux distributions (but which, normally, aren't present in Windows installations), including Perl, Flex, Bison, and other common tools. In addition, it currently requires three additional libraries to be present in order to build: GMP, MPC, and MPFR.57

In May 2010, the GCC steering committee decided to allow use of a C++ compiler to compile GCC.[53] The compiler was intended to be written mostly in C plus a subset of features from C++. In particular, this was decided so that GCC's developers could use the destructors and generics features of C++.58

In August 2012, the GCC steering committee announced that GCC now uses C++ as its implementation language.59 This means that to build GCC from sources, a C++ compiler is required that understands ISO/IEC C++03 standard.

On May 18, 2020, GCC moved away from ISO/IEC C++03 standard to ISO/IEC C++11 standard (i.e. needed to compile, bootstrap, the compiler itself; by default it however compiles later versions of C++).60

Front ends

Each front end uses a parser to produce the abstract syntax tree of a given source file. Due to the syntax tree abstraction, source files of any of the different supported languages can be processed by the same back end. GCC started out using LALR parsers generated with Bison, but gradually switched to hand-written recursive-descent parsers for C++ in 2004,61 and for C and Objective-C in 2006.62 As of 2021 all front ends use hand-written recursive-descent parsers.

Until GCC 4.0 the tree representation of the program was not fully independent of the processor being targeted. The meaning of a tree was somewhat different for different language front ends, and front ends could provide their own tree codes. This was simplified with the introduction of GENERIC and GIMPLE, two new forms of language-independent trees that were introduced with the advent of GCC 4.0. GENERIC is more complex, based on the GCC 3.x Java front end's intermediate representation. GIMPLE is a simplified GENERIC, in which various constructs are lowered to multiple GIMPLE instructions. The C, C++, and Java front ends produce GENERIC directly in the front end. Other front ends instead have different intermediate representations after parsing and convert these to GENERIC.

In either case, the so-called "gimplifier" then converts this more complex form into the simpler SSA-based GIMPLE form that is the common language for a large number of language- and architecture-independent global (function scope) optimizations.

GENERIC and GIMPLE

GENERIC is an intermediate representation language used as a "middle end" while compiling source code into executable binaries. A subset, called GIMPLE, is targeted by all the front ends of GCC.

The middle stage of GCC does all of the code analysis and optimization, working independently of both the compiled language and the target architecture, starting from the GENERIC63 representation and expanding it to register transfer language (RTL). The GENERIC representation contains only the subset of the imperative programming constructs optimized by the middle end.

In transforming the source code to GIMPLE,64 complex expressions are split into a three-address code using temporary variables. This representation was inspired by the SIMPLE representation proposed in the McCAT compiler65 by Laurie J. Hendren66 for simplifying the analysis and optimization of imperative programs.

Optimization

Optimization can occur during any phase of compilation; however, the bulk of optimizations are performed after the syntax and semantic analysis of the front end and before the code generation of the back end; thus a common, though somewhat self-contradictory, name for this part of the compiler is the "middle end."

The exact set of GCC optimizations varies from release to release as it develops, but includes the standard algorithms, such as loop optimization, jump threading, common subexpression elimination, instruction scheduling, and so forth. The RTL optimizations are of less importance with the addition of global SSA-based optimizations on GIMPLE trees,67 as RTL optimizations have a much more limited scope, and have less high-level information.

Some of these optimizations performed at this level include dead-code elimination, partial-redundancy elimination, global value numbering, sparse conditional constant propagation, and scalar replacement of aggregates. Array dependence based optimizations such as automatic vectorization and automatic parallelization are also performed. Profile-guided optimization is also possible.68

C++ Standard Library (libstdc++)

The GCC project includes an implementation of the C++ Standard Library called libstdc++,69 licensed under the GPLv3 License with an exception to link non-GPL applications when sources are built with GCC.70

Other features

Some features of GCC include:

Link-time optimization Link-time optimization optimizes across object file boundaries to directly improve the linked binary. Link-time optimization relies on an intermediate file containing the serialization of some Gimple representation included in the object file. The file is generated alongside the object file during source compilation. Each source compilation generates a separate object file and link-time helper file. When the object files are linked, the compiler is executed again and uses the helper files to optimize code across the separately compiled object files. Plugins Plugins extend the GCC compiler directly.71 Plugins allow a stock compiler to be tailored to specific needs by external code loaded as plugins. For example, plugins can add, replace, or even remove middle-end passes operating on Gimple representations.72 Several GCC plugins have already been published, notably:
  • The Python plugin, which links against libpython, and allows one to invoke arbitrary Python scripts from inside the compiler. The aim is to allow GCC plugins to be written in Python.
  • The MELT plugin provides a high-level Lisp-like language to extend GCC.73
The support of plugins was once a contentious issue in 2007.74 C++ transactional memory The C++ language has an active proposal for transactional memory. It can be enabled in GCC 6 and newer when compiling with -fgnu-tm.7576 Unicode identifiers Although the C++ language requires support for non-ASCII Unicode characters in identifiers, the feature has only been supported since GCC 10. As with the existing handling of string literals, the source file is assumed to be encoded in UTF-8. The feature is optional in C, but has been made available too since this change.7778 C extensions GNU C extends the C programming language with several non-standard-features, including nested functions.79

Architectures

The primary supported (and best tested) processor families are 64- and 32-bit ARM, 64- and 32-bit x86 64 and x86 and 64-bit PowerPC and SPARC.80

GCC target processor families as of version 11.1 include:81

Lesser-known target processors supported in the standard release have included:

Additional processors have been supported by GCC versions maintained separately from the FSF version:

The GCJ Java compiler can target either a native machine language architecture or the Java virtual machine's Java bytecode.84 When retargeting GCC to a new platform, bootstrapping is often used. Motorola 68000, Zilog Z80, and other processors are also targeted in the GCC versions developed for various Texas Instruments, Hewlett Packard, Sharp, and Casio programmable graphing calculators.85

License

GCC is licensed under the GNU General Public License version 3.86 The GCC runtime exception permits compilation of proprietary programs (in addition to free software) with GCC headers and runtime libraries. This does not impact the license terms of GCC source code.87

See also

  • Free and open-source software portal
  • Computer programming portal

Further reading

Wikimedia Commons has media related to GCC. Wikibooks has a book on the topic of: GNU C Compiler Internals

Official

Other

References

  1. Víctor Rodríguez (October 1, 2019). "Cutting Edge Toolchain (Latest Features in GCC/GLIBC)". youtube.com. Linux Foundation. Archived from the original on November 7, 2021. Retrieved January 19, 2021. https://www.youtube.com/watch?v=QXwxBM4sbYM

  2. "GCC Releases". GNU Project. Archived from the original on June 4, 2023. Retrieved July 24, 2020. https://gnu.org/software/gcc/releases.html

  3. "Programming Languages Supported by GCC". GNU Project. Archived from the original on January 18, 2023. Retrieved June 23, 2014. https://gcc.gnu.org/frontends.html

  4. "GCC 6 Release Series — Changes, New Features, and Fixes - GNU Project". gcc.gnu.org. Archived from the original on September 22, 2016. Retrieved September 19, 2016. https://gcc.gnu.org/gcc-6/changes.html

  5. "OpenACC - GCC Wiki". gcc.gnu.org. Archived from the original on April 1, 2015. Retrieved September 19, 2016. https://gcc.gnu.org/wiki/OpenACC

  6. "The LLVM Compiler Infrastructure Project". llvm.org. Archived from the original on January 18, 2023. Retrieved September 24, 2021. https://llvm.org/Users.html

  7. "Apple's GPLv3 purge". meta.ath0.com. February 5, 2012. Archived from the original on January 18, 2023. Retrieved January 12, 2021. http://meta.ath0.com/2012/02/05/apples-great-gpl-purge/

  8. Linnemann, Reid (June 20, 2012). "Why Clang". Archived from the original on January 18, 2023. Retrieved January 12, 2021. https://lists.freebsd.org/pipermail/freebsd-questions/2012-June/242495.html

  9. "August 29, 2007: FreeBSD Foundation Newsletter, August 29, 2007". October 11, 2007. Archived from the original on October 11, 2007. Retrieved January 12, 2021. https://web.archive.org/web/20071011023649/http://www.freebsdfoundation.org/press/2007Aug-newsletter.shtml#Letter

  10. "Installing GCC: Binaries - GNU Project - Free Software Foundation (FSF)". gcc.gnu.org. Archived from the original on January 5, 2021. Retrieved January 12, 2021. https://gcc.gnu.org/install/binaries.html

  11. von Hagen, William (2006). The Definitive Guide to GCC. Definitive Guides (2nd ed.). Apress. p. XXVII. ISBN 978-1-4302-0219-6. Archived from the original on April 5, 2024. Retrieved September 25, 2020. So he wrote to VUCK's author asking if GNU could use it. Evidently, VUCK's developer was uncooperative, responding that the university was free but that the compiler was not. 978-1-4302-0219-6

  12. Stallman, Richard (September 20, 2011). "About the GNU Project". The GNU Project. Archived from the original on August 9, 2019. Retrieved October 9, 2011. https://www.gnu.org/gnu/thegnuproject.html

  13. Puzo, Jerome E., ed. (February 1986). "Gnu's Zoo". GNU's Bulletin. 1 (1). Free Software Foundation. Archived from the original on June 23, 2015. Retrieved August 11, 2007. https://www.gnu.org/bulletins/bull1.txt

  14. Stallman, Richard (September 20, 2011). "About the GNU Project". The GNU Project. Archived from the original on August 9, 2019. Retrieved October 9, 2011. https://www.gnu.org/gnu/thegnuproject.html

  15. Stallman, Richard (September 20, 2011). "About the GNU Project". The GNU Project. Archived from the original on August 9, 2019. Retrieved October 9, 2011. https://www.gnu.org/gnu/thegnuproject.html

  16. von Hagen, William (2006). The Definitive Guide to GCC. Definitive Guides (2nd ed.). Apress. p. XXVII. ISBN 978-1-4302-0219-6. Archived from the original on April 5, 2024. Retrieved September 25, 2020. 978-1-4302-0219-6

  17. Richard M. Stallman (forwarded by Leonard H. Tower Jr.) (March 22, 1987). "GNU C compiler beta test release". Newsgroup: comp.lang.c. Archived from the original on June 2, 2013. Retrieved October 9, 2011. https://groups.google.com/group/comp.lang.misc/msg/32eda22392c20f98

  18. Stallman, Richard M. (June 22, 2001) [First published 1988], "Contributors to GNU CC", Using and Porting the GNU Compiler Collection (GCC), Free Software Foundation, Inc., p. 7, archived from the original on January 18, 2023, retrieved June 18, 2015. https://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_23.html

  19. Salus, Peter H. (2005). "Chapter 10. SUN and gcc". The Daemon, the Gnu and the Penguin. Groklaw. Archived from the original on June 20, 2022. Retrieved September 14, 2015. /wiki/Peter_H._Salus

  20. Garfinkel, Simson L. (August 6, 1990). "Get ready for GNU software". Computerworld. p. 102. /wiki/Simson_Garfinkel

  21. Henkel-Wallace, David (August 15, 1997), A new compiler project to merge the existing GCC forks, archived from the original on January 18, 2023, retrieved May 25, 2012. https://gcc.gnu.org/news/announcement.html

  22. Henkel-Wallace, David (August 15, 1997), A new compiler project to merge the existing GCC forks, archived from the original on January 18, 2023, retrieved May 25, 2012. https://gcc.gnu.org/news/announcement.html

  23. von Hagen, William (2006). The Definitive Guide to GCC. Definitive Guides (2nd ed.). Apress. p. XXVII. ISBN 978-1-4302-0219-6. Archived from the original on April 5, 2024. Retrieved September 25, 2020. 978-1-4302-0219-6

  24. von Hagen, William (2006). The Definitive Guide to GCC. Definitive Guides (2nd ed.). Apress. p. XXVII. ISBN 978-1-4302-0219-6. Archived from the original on April 5, 2024. Retrieved September 25, 2020. 978-1-4302-0219-6

  25. "The Short History of GCC development". www.softpanorama.org. Archived from the original on November 9, 2022. Retrieved January 24, 2021. http://www.softpanorama.org/People/Stallman/history_of_gcc_development.shtml

  26. "History - GCC Wiki". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved September 28, 2020. https://gcc.gnu.org/wiki/History#Reunification

  27. von Hagen, William (2006). The Definitive Guide to GCC. Definitive Guides (2nd ed.). Apress. p. XXVII. ISBN 978-1-4302-0219-6. Archived from the original on April 5, 2024. Retrieved September 25, 2020. 978-1-4302-0219-6

  28. "GCC steering committee - GNU Project". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved July 25, 2016. https://gcc.gnu.org/steering.html

  29. "PATCH] Remove chill". gcc.gnu.org. Archived from the original on October 20, 2016. Retrieved July 29, 2010. https://gcc.gnu.org/ml/gcc-patches/2002-04/msg00887.html

  30. "Chart of Fortran 2003 Features supported by GNU Fortran". GNU. Archived from the original on January 18, 2023. Retrieved June 25, 2009. https://gcc.gnu.org/wiki/Fortran2003Status

  31. "Chart of Fortran 2008 Features supported by GNU Fortran". GNU. Archived from the original on January 18, 2023. Retrieved June 25, 2009. https://gcc.gnu.org/wiki/Fortran2008Status

  32. "GCC 4.8 Release Series — Changes, New Features, and Fixes - GNU Project". gcc.gnu.org. Archived from the original on December 8, 2015. Retrieved February 17, 2015. https://gcc.gnu.org/gcc-4.8/changes.html

  33. "GCC 5 Release Series — Changes, New Features, and Fixes". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved January 13, 2022. https://gcc.gnu.org/gcc-5/changes.html#c-family

  34. "GCC 8 Release Series — Changes, New Features, and Fixes". gcc.gnu.org. Archived from the original on November 29, 2018. Retrieved January 13, 2022. https://gcc.gnu.org/gcc-8/changes.html

  35. "Symbian GCC Improvement Project". Archived from the original on August 1, 2014. Retrieved November 8, 2007. http://www.inf.u-szeged.hu/symbian-gcc/

  36. "Linux Board Support Packages". Archived from the original on June 7, 2011. Retrieved January 24, 2021. https://web.archive.org/web/20110607140609/http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_BSP&fsrch=1

  37. "setting up gcc as a cross-compiler". ps2stuff. June 8, 2002. Archived from the original on December 11, 2008. Retrieved December 12, 2008. https://web.archive.org/web/20081211044658/http://ps2stuff.playstation2-linux.com/gcc_build.html

  38. "CompileFarm - GCC Wiki". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved September 19, 2016. https://gcc.gnu.org/wiki/CompileFarm

  39. "sh4 g++ guide". Archived from the original on December 20, 2002. Retrieved December 12, 2008. https://web.archive.org/web/20021220025554/http://www.ngine.de/gccguide.html

  40. "Linux Information Project". LINFO. Archived from the original on January 3, 2023. Retrieved April 27, 2010. The GCC has been ported to (i.e., modified to run on) more than 60 platforms, which is more than for any other compiler. http://www.linfo.org/gcc.html

  41. "GCC 9 Release Series — Changes, New Features, and Fixes - GNU Project". Archived from the original on February 19, 2022. Retrieved May 7, 2019. https://gcc.gnu.org/gcc-9/changes.html#d

  42. "The D Language Front-End Finally Merged Into GCC 9 - Phoronix". phoronix.com. Archived from the original on May 17, 2022. Retrieved January 19, 2021. https://phoronix.com/scan.php?page=news_item&px=GCC-9-Merges-D-Language

  43. "GCC 13 Release Series — Changes, New Features, and Fixes - GNU Project". Archived from the original on May 26, 2023. Retrieved June 23, 2023. https://gcc.gnu.org/gcc-13/changes.html#modula2

  44. Proven, Liam (December 16, 2022). "GCC 13 to support Modula-2: Follow-up to Pascal lives on in FOSS form". Archived from the original on December 19, 2022. Retrieved December 19, 2022. https://www.theregister.com/2022/12/16/gcc_13_will_support_modula2/

  45. "GCC Front Ends". gnu.org. Archived from the original on January 18, 2023. Retrieved November 25, 2011. https://gcc.gnu.org/frontends.html

  46. "OpenACC - GCC Wiki". gcc.gnu.org. Archived from the original on April 1, 2015. Retrieved September 19, 2016. https://gcc.gnu.org/wiki/OpenACC

  47. "GCC 5 Release Series — Changes, New Features, and Fixes - GNU Project". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved April 23, 2015. https://gcc.gnu.org/gcc-5/changes.html

  48. "GCC 7 Release Series". gnu.org. Archived from the original on September 2, 2020. Retrieved March 20, 2018. https://gcc.gnu.org/gcc-7/changes.html

  49. "C++ Standards Support in GCC". Archived from the original on April 20, 2022. Retrieved May 17, 2021. https://gcc.gnu.org/projects/cxx-status.html

  50. E. Marchesi, Jose. "GCC Wiki: Algol 68 Front-End". gcc.gnu.org. https://gcc.gnu.org/wiki/Algol68FrontEnd

  51. "GCC Front Ends". gnu.org. Archived from the original on January 18, 2023. Retrieved November 25, 2011. https://gcc.gnu.org/frontends.html

  52. "GCC UPC (GCC Unified Parallel C)". Intrepid Technology, Inc. February 20, 2006. Archived from the original on February 11, 2010. Retrieved March 11, 2009. https://web.archive.org/web/20100211142352/http://www.gccupc.org/

  53. Spengler, Brad (January 12, 2021). "Open Source Security, Inc. Announces Funding of GCC Front-End for Rust". Archived from the original on April 25, 2021. https://opensrcsec.com/open_source_security_announces_rust_gcc_funding

  54. "Security Features: Compile Time Buffer Checks (FORTIFY_SOURCE)". fedoraproject.org. Archived from the original on January 7, 2007. Retrieved March 11, 2009. https://fedoraproject.org/wiki/Security/Features

  55. "languages used to make GCC". Archived from the original on May 27, 2008. Retrieved September 14, 2008. https://web.archive.org/web/20080527213819/http://www.ohloh.net/projects/gcc/analyses/latest

  56. "GCC Internals". GCC.org. Archived from the original on January 18, 2023. Retrieved March 1, 2010. https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html

  57. "Prerequisites for GCC - GNU Project". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved September 5, 2021. https://gcc.gnu.org/install/prerequisites.html

  58. "Re: Efforts to attract more users?". lists.gnu.org. Archived from the original on January 18, 2023. Retrieved September 24, 2021. https://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00518.html

  59. "GCC 4.8 Release Series: Changes, New Features, and Fixes". Archived from the original on December 8, 2015. Retrieved October 4, 2013. https://gcc.gnu.org/gcc-4.8/changes.html

  60. "bootstrap: Update requirement to C++11". GitHub. Archived from the original on September 29, 2022. Retrieved May 18, 2020. https://github.com/gcc-mirror/gcc/commit/5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed

  61. "GCC 3.4 Release Series — Changes, New Features, and Fixes - GNU Project". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved July 25, 2016. https://gcc.gnu.org/gcc-3.4/changes.html

  62. "GCC 4.1 Release Series — Changes, New Features, and Fixes - GNU Project". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved July 25, 2016. https://gcc.gnu.org/gcc-4.1/changes.html

  63. "GENERIC (GNU Compiler Collection (GCC) Internals)". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved July 25, 2016. https://gcc.gnu.org/onlinedocs/gccint/GENERIC.html

  64. "GIMPLE (GNU Compiler Collection (GCC) Internals)". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved July 25, 2016. https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html

  65. "McCAT". Archived from the original on August 12, 2004. Retrieved September 14, 2017.{{cite web}}: CS1 maint: bot: original URL status unknown (link) https://web.archive.org/web/20040812030043/http://www-acaps.cs.mcgill.ca/info/McCAT/McCAT.html

  66. "Laurie Hendren's Home Page". www.sable.mcgill.ca. Archived from the original on September 27, 2022. Retrieved July 20, 2009. http://www.sable.mcgill.ca/~hendren/

  67. Novillo, Diego (December 2004). "From Source to Binary: The Inner Workings of GCC". Red Hat Magazine. Archived from the original on April 1, 2009. https://web.archive.org/web/20090401215553/http://www.redhat.com/magazine/002dec04/features/gcc/

  68. "Installing GCC: Building - GNU Project". gcc.gnu.org. Archived from the original on August 22, 2023. Retrieved July 25, 2016. https://gcc.gnu.org/install/build.html#TOC4

  69. "The GNU C++ Library". GNU Project. Archived from the original on December 25, 2022. Retrieved February 21, 2021. https://gcc.gnu.org/onlinedocs/libstdc++

  70. "License". GNU Project. Archived from the original on January 18, 2023. Retrieved February 21, 2021. https://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html

  71. "Plugins". GCC online documentation. Archived from the original on April 30, 2013. Retrieved July 8, 2013. https://gcc.gnu.org/onlinedocs/gccint/Plugins.html

  72. Starynkevitch, Basile. "GCC plugins thru the MELT example" (PDF). Archived (PDF) from the original on April 13, 2014. Retrieved April 10, 2014. http://gcc-melt.org/gcc-plugin-MELT-LinuxCollabSummit2014.pdf

  73. "About GCC MELT". Archived from the original on July 4, 2013. Retrieved July 8, 2013. http://gcc-melt.org/

  74. "GCC unplugged [LWN.net]". lwn.net. Archived from the original on November 9, 2020. Retrieved March 28, 2021. https://lwn.net/Articles/259157/

  75. "GCC 6 Release Series — Changes, New Features, and Fixes - GNU Project". gcc.gnu.org. Archived from the original on September 22, 2016. Retrieved September 19, 2016. https://gcc.gnu.org/gcc-6/changes.html

  76. "TransactionalMemory - GCC Wiki". gcc.gnu.org. Archived from the original on August 19, 2016. Retrieved September 19, 2016. https://gcc.gnu.org/wiki/TransactionalMemory

  77. "Lewis Hyatt - [PATCH] wwwdocs: Document support for extended identifiers added to GCC". gcc.gnu.org. Archived from the original on March 27, 2020. Retrieved March 27, 2020. https://gcc.gnu.org/legacy-ml/gcc-patches/2020-01/msg01667.html

  78. "Recommendations for extended identifier characters for C and C++". www.open-std.org. Archived from the original on September 30, 2020. Retrieved March 27, 2020. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3146.html

  79. "C Extensions (Using the GNU Compiler Collection (GCC))". gcc.gnu.org. Archived from the original on January 12, 2022. Retrieved January 12, 2022. https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html

  80. "GCC 12 Release Criteria". gcc.gnu.org. October 26, 2022. Archived from the original on January 27, 2023. Retrieved January 27, 2023. https://gcc.gnu.org/gcc-12/criteria.html

  81. "Option Summary (Using the GNU Compiler Collection (GCC))". gcc.gnu.org. Archived from the original on January 18, 2023. Retrieved August 21, 2020. https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Option-Summary.html#Option-Summary

  82. "Hexagon Project Wiki". Archived from the original on March 23, 2012. Retrieved May 19, 2011. https://web.archive.org/web/20120323192748/https://www.codeaurora.org/xwiki/bin/Hexagon/

  83. "Google Code Archive - Long-term storage for Google Code Project Hosting". code.google.com. Archived from the original on September 25, 2022. Retrieved September 24, 2021. https://code.google.com/archive/p/sx-gcc

  84. "The GNU Compiler for the Java Programming Language". Archived from the original on May 9, 2007. Retrieved April 22, 2010. https://web.archive.org/web/20070509055923/http://gcc.gnu.org/java/

  85. graphing calculators#programming

  86. "Using the GNU Compiler Collection". gnu.org. Archived from the original on November 16, 2023. Retrieved November 5, 2019. https://gcc.gnu.org/onlinedocs/gcc/Copying.html#Copying

  87. "GCC Runtime Exception". FSF. Archived from the original on April 16, 2014. Retrieved April 10, 2014. https://www.gnu.org/licenses/gcc-exception