🌐
GNU
gcc.gnu.org
GCC, the GNU Compiler Collection - GNU Project
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68 as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system.
optimizing compiler produced by the GNU Project, key component of the GNU tool-chain and standard compiler for most projects related to GNU and the Linux kernel.
GCC_10.2_GNU_Compiler_Collection_self-compilation.png
gcc 11 1 0 compiling chicken screenshot
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 … Wikipedia
Factsheet
Original author Richard Stallman
Developer GNU Project
Release March 22, 1987; 39 years ago (1987-03-22)
Factsheet
Original author Richard Stallman
Developer GNU Project
Release March 22, 1987; 39 years ago (1987-03-22)
🌐
Wikipedia
en.wikipedia.org › wiki › GNU_Compiler_Collection
GNU Compiler Collection - Wikipedia
2 weeks ago - 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 ...
🌐
GNU
gcc.gnu.org › codingconventions.html
GCC Coding Conventions - GNU Project
C code should avoid pre-standard style function definitions, unnecessary function prototypes and use of the now deprecated PARAMS macro. See README.Portability for details of some of the portability problems that may arise. Some of these problems are warned about by gcc -Wtraditional, which is included in the default warning options in a bootstrap.
🌐
GitHub
github.com › gcc-mirror › gcc
GitHub - gcc-mirror/gcc · GitHub
This directory contains the GNU Compiler Collection (GCC). The GNU Compiler Collection is free software. See the files whose names start with COPYING for copying permission. The manuals, and some of the runtime libraries, are under different terms; see the individual source files for details.
Starred by 11K users
Forked by 4.8K users
Languages   C++ 30.0% | C 29.4% | Ada 13.9% | D 5.9% | Go 5.2% | HTML 3.6%
🌐
Incredibuild
incredibuild.com › home › integrations › gcc
What is GNU Compiler Collection (GCC) | Incredibuild
September 17, 2024 - GCC is a toolchain that compiles code, links it with any library dependencies, converts that code to assembly, and then prepares executable files. It follows the standard UNIX design philosophy of using simple tools that perform individual tasks ...
🌐
NTU
www3.ntu.edu.sg › home › ehchua › programming › cpp › gcc_make.html
GCC and Make - A Tutorial on how to compile, link and build C/C++ applications
Compilation: The compiler compiles the pre-processed source code into assembly code for a specific processor. > gcc -S hello.i The -S option specifies to produce assembly code, instead of object code.
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_enterprise_linux › 7 › html › developer_guide › gcc-compiling-code
Chapter 15. Building Code with GCC | Developer Guide | Red Hat Enterprise Linux | 7 | Red Hat Documentation
Source code written in the C or C++ language, present as plain text files. The files typically use extensions such as .c, .cc, .cpp, .h, .hpp, .i, .inc. For a complete list of supported extensions and their interpretation, see the gcc manual pages:
🌐
Linux Man Pages
man7.org › linux › man-pages › man1 › gcc.1.html
gcc(1) - Linux manual page
GCC is capable of preprocessing and compiling several files either into several assembler input files, or into one assembler input file; then each assembler input file produces an object file, and linking combines all the object files (those newly compiled, and those specified as input) into an executable file. For any given input file, the file name suffix determines what kind of compilation is done: file.c C source code ...
Find elsewhere
🌐
GNU
gcc.gnu.org › onlinedocs › gcc › Code-Gen-Options.html
Code Gen Options (Using the GNU Compiler Collection (GCC))
If there is no standard convention, GCC defaults to -fpcc-struct-return, except on targets where GCC is the principal compiler. In those cases, we can choose the standard, and we chose the more efficient register return alternative. Warning: code compiled with the -freg-struct-return switch is not binary compatible with code compiled with the -fpcc-struct-return switch.
🌐
RapidTables
rapidtables.com › code › linux › gcc.html
GCC C compiler
GCC is the GNU Compiler examples and code generator.
🌐
Medium
medium.com › @NateFP › gcc-the-process-behind-the-code-31782b052065
GCC — The Process Behind the Code | by Nate Petersen | Medium
February 7, 2019 - The letters actually stand for GNU Compiler Collection. This is a program that is used to take a file containing code for a program and running it through several processes to eventually produce an executable file.
🌐
Wikihow
wikihow.com › computers and electronics › software › programming › c programming languages › how to compile a c program using the gnu compiler (gcc)
How to Compile a C Program Using the GNU Compiler (GCC)
February 19, 2026 - The complete guide to compiling C code with GCC on Linux and Windows Are you ready to turn your C code into an executable program? The GNU C compiler, also known as GCC, is a simple Linux-based C compiler that's easy to use from the...
🌐
IIT Bombay
cse.iitb.ac.in › ~uday › courses › cs715-09 › gcc-code-view.pdf pdf
GCC Source Code: An Internal View Uday Khedker GCC Resource Center,
Common subexpression elimination, dead code elimination · • The pass sequence can be divided broadly in two parts · ◮Passes on Gimple · ◮Passes on RTL · • Some passes are organizational passes to group related passes · Jan 2010 · Uday Khedker, IIT Bombay · CS 715 · GRC: Outline · 7/15 · Basic Transformations in GCC ·
🌐
GNU
gcc.gnu.org › onlinedocs › gcc.pdf pdf
Using the GNU Compiler Collection For gcc version 17.0.0 (pre-release) (GCC)
of the language-independent component of GCC: code shared among the compilers for all
🌐
Stanford
web.stanford.edu › class › archive › cs › cs107 › cs107.1194 › resources › gcc
CS107 Compiling C Programs with GCC
We will learn a bit about each of those steps during CS107, but the nice thing is that gcc can produce the entire executable (runnable) program for you with one command. In CS107, we will predominantly use Makefiles to compile, assemble, and link our code, but the Makefile runs gcc to do the work.
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › gcc-command-in-linux-with-examples
gcc command in Linux with examples - GeeksforGeeks
October 4, 2025 - GCC stands for GNU Compiler Collections which is used to compile mainly C and C++ language. It can also be used to compile Objective C and Objective C++. The most important option required while compiling a source code file is the name of the ...
🌐
GNU
gcc.gnu.org › conduct.html
GCC Code of Conduct - GNU Project
Like the free software community as a whole, the GCC community is made up of a mixture of professionals and volunteers from all over the world, working on every aspect of the project - including mentorship, teaching, and connecting people. Diversity is a huge strength, but it can also lead to communication issues and unhappiness. To that end, we have a few ground rules that we ask people to adhere to. This code ...
🌐
Google Summer of Code
summerofcode.withgoogle.com › archive › 2022 › organizations › gnu-compiler-collection-gcc
2022 Program GNU Compiler Collection (GCC)
Google Summer of Code is a global program focused on bringing more developers into open source software development.
🌐
GeeksforGeeks
geeksforgeeks.org › c++ › difference-between-gcc-and-g
Difference Between gcc and g++ - GeeksforGeeks
July 12, 2025 - The GNU Compiler Collection, abbreviated as GCC provides multiple compilers to compile source codes of different programming languages, mainly C and C++. In its command line interface, it provides two commands "gcc" and "g++" which are used ...