Software : GNU : GNU Compiler Collection

GNU Compiler Collection (GCC)

Version
(as of 6/10/2014)
4.9
Platforms
LicenseOpen Source
CategoryProgramming

Software Overview

Main Features

  • Free, open source suite of compilers
  • Supports several different front end languages
  • Can cross-compile executables for different platforms

The GNU Compiler Collection (GCC) is a suite of open source compliers most commonly used for compiling C and C++ programs. GCC supports several other programming languages as well, including Objective-C, Fortran, Java, Ada, and Go. The compilers are most commonly used on Unix-based systems, but a Windows port, called MiniGW, can be used as well.

GCC includes several different compilers:

  • gcc: A C compiler
  • g++: A C++ and Objective-C compiler
  • gfortran: A Fortran compiler
  • gcj: A Java compiler
  • GNAT: An Ada compiler
  • gccgo: A Go compiler
GCC's modular design also allows it to be extended to support other languages as well.

One great feature of GCC is its ability to cross-compile programs for different platforms. This means that, even though a developer uses GCC on one platform, it may be compiled for another target platform.

GCC is one of the most common choices for compiling C and C++ programs on Unix-based systems. If you're developing for Linux, GCC is a good go-to choice. It can be also used for Windows, but other compilers are typically preferred, such as the compiler included with Microsoft Visual Studio.

▶ Primary file extension

.C – C/C++ Source Code File

▶ Other file extensions used by GNU Compiler Collection (GCC) 4.9

Supported File Types
.ADAAda Source Code
.ADBAda Body File
.ADSAda Specification File
.ASMAssembly Language Source Code File
.CPPC++ Source Code File
.FFortran Source Code
.HC/C++/Objective-C Header File
.HPPC++ Header File
.JAVAJava Source Code File
.MObjective-C Implementation File
Additional Related File Formats
.AStatic Library
.ARUnix Static Library
.CCC++ Source Code File
.GCHPrecompiled Header File
.HXXC++ Source Code Header File
.OCompiled Object File
.SOShared Library

Updated: June 10, 2014