๐ŸŒ
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.
Installing GCC
The latest version of this document is always available at https://gcc.gnu.org/install/. It refers to the current development sources, instructions for specific released versions are included with the sources.
GCC mirror sites
Include the URL of the gcc.gnu.org mirror area, the country/city where the mirror is located, and a contact e-mail address (and name if appropriate).
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.
Downloading GCC
The source distribution includes the Ada, C, C++, Objective-C, COBOL (GCC 15 and later), D (GCC 9 and later), Fortran, Go, Modula-2 (GCC 13 and later) and Algol 68 (GCC 16 and later, experimental) compilers, as well as runtime libraries for C++, Objective-C, COBOL, Fortran and Algol 68.
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
Initial release March 22, 1987; 38 years ago (1987-03-22)
Factsheet
Original author Richard Stallman
Developer GNU Project
Initial release March 22, 1987; 38 years ago (1987-03-22)
๐ŸŒ
JDoodle
jdoodle.com โ€บ c-online-compiler
Online Compiler and Editor/IDE for Java, C, C++, PHP, Python, Ruby, Perl - Code and Run Online
JDoodle is an Online Compiler, Editor, IDE for Java, C, C++, PHP, Perl, Python, Ruby and many more. You can run your programs on the fly online, and you can save and share them with others. Quick and Easy way to compile and run programs online.
Discussions

Using GCC to compile C code - Stack Overflow
I installed MinGW on my Windows 8 laptop and tried to compile a C code file with gcc test.c -o test.exe the compiler gave no warnings or errors but it did not create test.exe how do i get the com... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Why does C have the best file API
struct foo { fields; }; foo *data = mmap(โ€ฆ); And yes, C is one of relatively few languages that let you do this without complaint, because itโ€™s a terrible idea. And C doesnโ€™t even let you specify a binary format โ€” it lets you write a struct that will correspond to a binary format in ... More on news.ycombinator.com
๐ŸŒ news.ycombinator.com
139
148
11 hours ago
compiler - Isn't there a chicken-and-egg issue since GCC is written in C++ itself? - Software Engineering Stack Exchange
Since 4.8 release, the C++ compiler GCC (the G++ part of it) is written not in C anymore, but in C++ itself. I have a hypothetical question on this. I wonder how to compile the C++ code of GCC on ... More on softwareengineering.stackexchange.com
๐ŸŒ softwareengineering.stackexchange.com
December 12, 2014
Why is GCC the only compiler that cares deeply about C?
Microsoft doesn't care about C. The win32 API is an ANSI C API and Windows programs haven't been written in C regularly since the Windows 3.x era. They lagged behind for a while, not implementing C99, but have since turned around and MSVC is C17 with more or less all the features. They even have a standards-compliant preprocessor now, available with a project setting or switch. It's weird that you have to specifically ask for the compliant preprocessor, but making that the default would break a lot of old projects. But anyway, you can do modern C in MSVC now, they're up to speed. Clang is more or less on par with GCC, and they both represent the state of the art of C. More on reddit.com
๐ŸŒ r/C_Programming
155
218
December 22, 2024
๐ŸŒ
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.
๐ŸŒ
Regehr
john.regehr.org โ€บ writing โ€บ claude_c_compiler.html
claude_c_compiler
1 day ago - This gross underestimate was due to the fact that I thought parsing and making sense of C is simple. You probably think the same. What I did not expect was how many dark corners this language has, especially if you want to parse real-world programs such as those written for GCC or if you are more ambitious and you want to parse the Linux or Windows NT sources (both of these were written without any respect for the standard and with the expectation that compilers will be changed to accommodate the program).
๐ŸŒ
Hacker News
news.ycombinator.com โ€บ item
Why does C have the best file API | Hacker News
11 hours ago - struct foo { fields; }; foo *data = mmap(โ€ฆ); And yes, C is one of relatively few languages that let you do this without complaint, because itโ€™s a terrible idea. And C doesnโ€™t even let you specify a binary format โ€” it lets you write a struct that will correspond to a binary format in ...
Find elsewhere
๐ŸŒ
University of Alabama
oit.ua.edu โ€บ software โ€บ gcc
GCC - Office of Information Technology | The University of Alabama
Type gcc in a Cygwin terminal window. If you see gcc: fatal error: no input files, you are all set. This means the gcc command/compiler installed and you need to enter a C program for compilation.
๐ŸŒ
Red Hat
docs.redhat.com โ€บ en โ€บ documentation โ€บ red_hat_developer_toolset โ€บ 9 โ€บ html โ€บ user_guide โ€บ chap-gcc
Chapter 2. GNU Compiler Collection (GCC) | User Guide | Red Hat Developer Toolset | 9 | Red Hat Documentation
The GNU Compiler Collection, commonly abbreviated GCC, is a portable compiler suite with support for a wide selection of programming languages. Red Hat Developer Toolset is distributed with GCC 9.3.1. This version is more recent than the version included in Red Hat Enterprise Linux and provides ...
๐ŸŒ
OnlineGDB
onlinegdb.com โ€บ online_c_compiler
Online C Compiler - online editor
OnlineGDB is online IDE with c compiler. Quick and easy way to compile c program online. It supports gcc compiler for c.
๐ŸŒ
Ubuntu
documentation.ubuntu.com โ€บ ubuntu-for-developers โ€บ tutorials โ€บ gcc-use
Develop with GCC on Ubuntu - Ubuntu for Developers
October 24, 2025 - Use the -v option to display detailed information on how gcc invokes the individual tools that handle the intermediate steps. ... gcc can compile source code in many programming languages, including C, C++, and Assembly.
๐ŸŒ
Opensource.com
opensource.com โ€บ article โ€บ 22 โ€บ 5 โ€บ gnu-c-compiler
A programmer's guide to GNU C Compiler | Opensource.com
May 20, 2022 - C is a well-known programming language, popular with experienced and new programmers alike. Source code written in C uses standard English terms, so it's considered human-readable. However, computers only understand binary code. To convert code into machine language, you use a tool called a compiler. A very common compiler is GCC (GNU C Compiler).
๐ŸŒ
Programiz
programiz.com โ€บ c-programming โ€บ online-compiler
Online C Compiler - Programiz
// Online C compiler to run C program online #include <stdio.h> int main() { // Write C code here printf("Try programiz.pro"); return 0; }
๐ŸŒ
DigitalOcean
digitalocean.com โ€บ community โ€บ tutorials โ€บ c-compiler-windows-gcc
Install C/GCC Compiler for Windows | DigitalOcean
August 3, 2022 - One of the preferred way to install C/GCC compiler is to use CodeBlocks. Just install it, launch it and start coding to keep things simple.
๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ cpp โ€บ config-mingw
Using GCC with MinGW
November 3, 2021 - Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date native builds of GCC, MinGW-w64, and other helpful C++ tools and libraries. This will provide you with the necessary tools to compile your code, debug it, and configure it to work with IntelliSense.
๐ŸŒ
SourceForge
sourceforge.net โ€บ projects โ€บ gcc-win64
gcc-win64 download | SourceForge.net
Download gcc-win64 for free. x64 build of GCC for Windows. x64 C/C++ compiler for Windows using (unofficial build): - gmp - mpfr - mpc - isl - cloog - mingw-w64 - gcc - seh You need at least core2 command set support to run this application. Note that every version with bundled gdb needs at least Windows 7.
๐ŸŒ
Compiler Explorer
godbolt.org
Compiler Explorer
Compiler Explorer is an interactive online compiler which shows the assembly output of compiled C++, Rust, Go (and many more) code.
๐ŸŒ
Linux Man Pages
man7.org โ€บ linux โ€บ man-pages โ€บ man1 โ€บ gcc.1.html
gcc(1) - Linux manual page
When you compile C++ programs, you should invoke GCC as g++ instead. The gcc program accepts options and file names as operands. Many options have multi-letter names; therefore multiple single-letter options may not be grouped: -dv is very different from -d -v.
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ GNU_Compiler_Collection
GNU Compiler Collection - Wikipedia
3 weeks ago - 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.