e01.org

GNU Compiler Collection

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 (FSF) distributes GCC as free software under the GNU General Public License (GNU GPL). GCC is a key component of the GNU toolchain which is used for most projects related to GNU and the Linux kernel. With roughly 15 million lines of code in 2019, GCC is one of the largest free programs in existence. It has played an important role in the growth of free software, as both a tool and an example. When it was first released in 1987 by Richard Stallman, GCC 1.0 was named... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

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 (FSF) distributes GCC as free software under the GNU General Public License (GNU GPL). GCC is a key component of the GNU toolchain which is used for most projects related to GNU and the Linux kernel. With roughly 15 million lines of code in 2019, GCC is one of the largest free programs in existence. It has played an important role in the growth of free software, as both a tool and an example. When it was first released in 1987 by Richard Stallman, GCC 1.0 was named the GNU C Compiler since it only handled the C programming language. It was extended to compile C++ in December of that year. Front ends were later developed for Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, Rust, COBOL, and ALGOL 68 among others. The OpenMP and OpenACC specifications are also supported in the C and C++ compilers. As well as being the official compiler of the GNU operating system, GCC has been adopted as the standard compiler by many other modern Unix-like computer operating systems, including most Linux distributions. Most BSD family operating systems also switched to GCC shortly after its release, although since then, FreeBSD and Apple macOS have moved to the Clang compiler, largely due to licensing reasons. GCC can also compile code for Windows, Android, iOS, Solaris, HP-UX, AIX, and MS-DOS compatible operating systems. GCC has been ported to more platforms and instruction set architectures than any other compiler, 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 ARM-based and Power ISA-based chips. === 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. 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 1997 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. 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), many C++ improvements, and many new architectures and operating system variants. 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. GCC has since been maintained by a varied group of programmers from around the world under the direction of a steering committee. GCC 3 (2002) removed a front-end for CHILL due to a lack of maintenance. 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. As of version 4.8, GCC is implemented in C++. Support for Cilk Plus existed from GCC 5 to GCC 7. 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), ARM-based, and Power ISA-based chips. The compiler can target a wide variety of platforms, including video game consoles such as the PlayStation 2, Cell SPE of PlayStation 3, and Dreamcast. It has been ported to "more than 60 platforms".

References

  1. ^ "Apple's GPLv3 purge" . meta.ath0.com . February 5, 2012. Archived from the original on January 18, 2023 . Retrieved January 12, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  2. ^ Linnemann, Reid (June 20, 2012). "Why Clang" . Archived from the original on January 18, 2023 . Retrieved January 12, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  3. ^ "August 29, 2007: FreeBSD Foundation Newsletter, August 29, 2007" . October 11, 2007. Archived from the original on October 11, 2007 . Retrieved January 12, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  4. ^ "Installing GCC: Binaries - GNU Project - Free Software Foundation (FSF)" . gcc.gnu.org . Archived from the original on January 5, 2021 . Retrieved January 12, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  5. ^ 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. Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  6. ^ 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 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  7. ^ Stallman, Richard M. (March 22, 1987). "GNU C compiler beta test release" . Forwarded by Leonard H. Tower Jr. Newsgroup : comp.lang.c . Archived from the original on June 2, 2013 . Retrieved October 9, 2011 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  8. ^ Garfinkel, Simson L. (August 6, 1990). "Get ready for GNU software" . Computerworld . p. 102. Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  9. ^ "The Short History of GCC development" . Softpanorama . Archived from the original on November 9, 2022 . Retrieved January 24, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  10. ^ "History" . GCC Wiki . Archived from the original on January 18, 2023 . Retrieved September 28, 2020 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  11. ^ Pfeifer, Gerald. "Re: PATCH: Remove chill" . gcc-patches (Mailing list). Archived from the original on October 20, 2016 . Retrieved July 29, 2010 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  12. ^ "GCC 4.8 Release Series – Changes, New Features, and Fixes" . gcc.gnu.org . GNU Project. March 22, 2013. Archived from the original on December 8, 2015 . Retrieved February 17, 2015 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  13. ^ "GCC Coding Conventions - GNU Project" . gcc.gnu.org . Archived from the original on May 28, 2023 . Retrieved February 7, 2022 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  14. ^ "GCC 5 Release Series – Changes, New Features, and Fixes" . gcc.gnu.org . April 22, 2015. Archived from the original on January 18, 2023 . Retrieved January 13, 2022 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  15. ^ "GCC 8 Release Series – Changes, New Features, and Fixes" . gcc.gnu.org . May 2, 2018. Archived from the original on November 29, 2018 . Retrieved January 13, 2022 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  16. ^ "Symbian GCC Improvement Project" . Archived from the original on August 1, 2014 . Retrieved November 8, 2007 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  17. ^ "GCC 9 Release Series — Changes, New Features, and Fixes - GNU Project" . Archived from the original on February 19, 2022 . Retrieved May 7, 2019 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  18. ^ "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 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  19. ^ "GCC 13 Release Series — Changes, New Features, and Fixes - GNU Project" . Archived from the original on May 26, 2023 . Retrieved June 23, 2023 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  20. ^ 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 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  21. ^ "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 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  22. ^ "GCC 7 Release Series" . gnu.org. Archived from the original on September 2, 2020 . Retrieved March 20, 2018 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  23. ^ "GCC UPC (GCC Unified Parallel C)" . Intrepid Technology, Inc. February 20, 2006. Archived from the original on February 11, 2010 . Retrieved March 11, 2009 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  24. ^ 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. Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  25. ^ "C++ Standards Support in GCC" . Archived from the original on April 20, 2022 . Retrieved May 17, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  26. ^ "Security Features: Compile Time Buffer Checks (FORTIFY_SOURCE)" . Fedora Project. Archived from the original on January 7, 2007 . Retrieved March 11, 2009 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  27. ^ "GCC Runtime Library Exception" . Archived from the original on March 31, 2023 . Retrieved July 24, 2020 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  28. ^ "GCC, the GNU Compiler Collection: Languages" . Archived from the original on May 27, 2008 . Retrieved September 14, 2008 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  29. ^ "The GCC low-level runtime library" . GCC Internals . GNU Project. Archived from the original on January 18, 2023 . Retrieved March 1, 2010 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  30. ^ "Prerequisites for GCC" . gcc.gnu.org . GNU Project. Archived from the original on January 18, 2023 . Retrieved September 5, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  31. ^ Stallman, Richard (July 12, 2010). "Re: Efforts to attract more users?" . emacs-devel (Mailing list). Archived from the original on January 18, 2023 . Retrieved September 24, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  32. ^ "GCC 4.8 Release Series: Changes, New Features, and Fixes" . Archived from the original on December 8, 2015 . Retrieved October 4, 2013 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  33. ^ "bootstrap: Update requirement to C++11" . GitHub . Archived from the original on September 29, 2022 . Retrieved May 18, 2020 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  34. ^ "GCC 3.4 Release Series — Changes, New Features, and Fixes" . gcc.gnu.org . GNU Project. Archived from the original on January 18, 2023 . Retrieved July 25, 2016 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  35. ^ "GCC 4.1 Release Series — Changes, New Features, and Fixes" . gcc.gnu.org . GNU Project. Archived from the original on January 18, 2023 . Retrieved July 25, 2016 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  36. ^ "GENERIC" . GNU Compiler Collection (GCC) Internals . Archived from the original on January 18, 2023 . Retrieved July 25, 2016 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  37. ^ "GIMPLE" . GNU Compiler Collection (GCC) Internals . Archived from the original on January 18, 2023 . Retrieved July 25, 2016 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  38. ^ "McCAT Compiler" . School of Computer Science, McGill University. Archived from the original on August 12, 2004 . Retrieved September 14, 2017 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  39. ^ "Laurie Hendren's Home Page" . Sable Research Group, McGill University. Archived from the original on September 27, 2022 . Retrieved July 20, 2009 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  40. ^ Novillo, Diego (December 2004). "From Source to Binary: The Inner Workings of GCC" . Red Hat Magazine . Archived from the original on April 1, 2009. Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  41. ^ "Installing GCC: Building" . gcc.gnu.org . GNU Project. Archived from the original on August 22, 2023 . Retrieved July 25, 2016 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  42. ^ "The GNU C++ Library" . GNU Project. Archived from the original on December 25, 2022 . Retrieved February 21, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  43. ^ "License" . GNU Project. Archived from the original on January 18, 2023 . Retrieved February 21, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  44. ^ "ABI Policy and Guidelines" . gcc.gnu.org . Retrieved November 11, 2025 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  45. ^ "Plugins" . GCC online documentation . Archived from the original on April 30, 2013 . Retrieved July 8, 2013 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  46. ^ Starynkevitch, Basile (March 28, 2014). GCC plugins thru the MELT example (PDF) . Linux Foundation Collaboration Summit (presentation slides). Napa Valley, California. Archived from the original (PDF) on April 13, 2014 . Retrieved April 10, 2014 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  47. ^ "About GCC MELT" . Archived from the original on September 25, 2013 . Retrieved July 8, 2013 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  48. ^ Corbet, Jonathan (November 19, 2007). "GCC unplugged [LWN.net]" . lwn.net . Archived from the original on November 9, 2020 . Retrieved March 28, 2021 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  49. ^ "TransactionalMemory - GCC Wiki" . gcc.gnu.org . Archived from the original on August 19, 2016 . Retrieved September 19, 2016 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  50. ^ Hyatt, Lewis (January 24, 2020). "[PATCH] wwwdocs: Document support for extended identifiers added to GCC" . gcc-patches (Mailing list). Archived from the original on March 27, 2020 . Retrieved March 27, 2020 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  51. ^ "Recommendations for extended identifier characters for C and C++" . open-std.org . Archived from the original on September 30, 2020 . Retrieved March 27, 2020 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  52. ^ "Extensions to the C Language Family" . Using the GNU Compiler Collection (GCC) . GNU Project. Archived from the original on January 12, 2022 . Retrieved January 12, 2022 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  53. ^ "GCC 12 Release Criteria" . gcc.gnu.org . October 26, 2022. Archived from the original on January 27, 2023 . Retrieved January 27, 2023 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  54. ^ "Option Summary (Using the GNU Compiler Collection (GCC))" . gcc.gnu.org . Archived from the original on January 18, 2023 . Retrieved August 21, 2020 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  55. ^ "Hexagon Project Wiki" . Archived from the original on March 23, 2012 . Retrieved May 19, 2011 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  56. ^ "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 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  57. ^ "The GNU Compiler for the Java Programming Language" . Archived from the original on May 9, 2007 . Retrieved April 22, 2010 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  58. ^ graphing calculators#programming Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  59. ^ "Using the GNU Compiler Collection" . gnu.org . Archived from the original on November 16, 2023 . Retrieved November 5, 2019 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
  60. ^ "GCC Runtime Exception" . FSF. Archived from the original on April 16, 2014 . Retrieved April 10, 2014 . Wikipedia revision 1377697448, retrieved 2026-11-19 · 1795042800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"GNU Compiler Collection". 1790781164. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377697448

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·