Victor S. Borisov and Petr N. Vabishchevich

3 GCC distilled

Abstract: The GNU Compiler Collection (GCC)1 is a collection of compilers for various programming languages. GCC has been developed within the GNU Project2. Here we discuss how to employ GCC in order to compile, link, debug, and organize C and C++ programs.

3.1 General information

GCC is a free software and the standard compiler for Linux and other UNIX-like operating systems.

3.1.1 Supported languages

The compilation process is divided into two phases. During the first phase (the front end), a compiler analyzes a source code and converts it into internal instructions in the form of an abstract tree that is independent from languages and processors. During the second phase (the back ...

Get Computational Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.