GNU Compiler Collection

From MattWiki
(Redirected from Gcc)

The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain. As well as being the official compiler of the unfinished GNU operating system, GCC has been adopted as the standard compiler by most other modern Unix-like computer operating systems, including Linux, the BSD family and Mac OS X. A port to RISC OS has also been developed extensively in recent years.[1]

GCC has been ported to a wide variety of processor architectures, and is widely deployed as a tool in commercial, proprietary and closed source software development environments. GCC is also available for most embedded platforms, for example Symbian (called gcce),[2] AMCC and Freescale Power Architecture-based chips.[3] The compiler can target a wide variety of platforms, including videogame consoles such as the PlayStation 2[4] and Dreamcast.[5] Several companies[6] make a business out of supplying and supporting GCC ports to various platforms, and chip manufacturers today consider a GCC port almost essential to the success of an architecture.

Originally named the GNU C Compiler, because it only handled the C programming language, GCC 1.0 was released in 1987, and the compiler was extended to compile C++ in December of that year. Front ends were later developed for Fortran, Pascal, Objective-C, Java, and Ada, among others.[7]

The Free Software Foundation (FSF) distributes GCC under the GNU General Public License (GNU GPL). GCC has played an important role in the growth of free software, as both a tool and an example.


  1. "GNU Compiler Collection - Definition". wordiQ. Retrieved 2011-06-16. "It is the standard compiler for the open source Unix-like operating systems, and certain proprietary operating systems derived therefrom such as Mac OS X."
  2. "Symbian GCC Improvement Project". Retrieved 2007-11-08.
  3. "Linux Board Support Packages". Retrieved 2008-08-07.
  4. "setting up gcc as a cross-compiler". ps2stuff. 2002-06-08. Retrieved 2008-12-12.
  5. "sh4 g++ guide". Archived from the original on 2002-12-20. Retrieved 2008-12-12. "This guide is intended for people who want to compile C++ code for their Dreamcast systems"
  6. "FSF Service Directory".
  7. "Programming Languages Supported by GCC". GNU Project. Retrieved 2009-05-03.