GCC (GNU Compiler Collection) is an open source command-line software designed to act as a compiler for GNU/Linux and BSD-based operating systems. It includes front-ends for numerous programming languages, including Objective-C, Go, C++, Java, C, Ada, and Fortran.

Features at a glance

With GCC you can configure, compile and install GNU/Linux applications in Linux or BSD operating systems using only the source archive of the respective program. However, users don’t need to interact with the compiler, as this is done automatically by the configure and make scripts.

The project also includes libraries for various programming languages, such as libstdc and libgcj, and like most GNU software, it has to be configured before it can be built and installed on your computer.

It can also display the full path to a specific library, folders in the compiler’s search path, full path to a specific component, target libraries directory, sysroot suffix that is used to find headers, and target’s normalized GNU triplet.

In addition, there are various other options for passing certain comma-separated options and arguments on to the assembler, preprocessor and linker, compile and assemble without linking, create a shared library, and many others.

Designed for the GNU operating system

Being originally written as the main compiler for the GNU operating system, GCC (GNU Compiler Collection) was developed to be 100% free software and it is installed by default on any Linux distribution.

The software is also used by Open Source developers to compile their programs. The command-line comes with several options, among which we can mention the ability to display the compiler’s target processor, as well as the relative path to OS libraries.

Bottom line

All in all, GCC is one of the most essential components of any GNU/Linux operating system. Not only that we can’t even imagine a world without it, but GCC is the main reason behind the entire Open Source ecosystem.

GNU compiler GNU Compiler Collection C++ compiler GNU Compiler C C++