• Home
  • Search Tags
  • About

gcc

Topics related to gcc:

Getting started with gcc

GCC (upper case) refers to the GNU Compiler Collection. This is an open source compiler suite which include compilers for C, C++, Objective C, Fortran, Ada, Go and Java. gcc (lower case) is the C compiler in the GNU Compiler Collection. Historically GCC and gcc have been used interchangeably, but efforts are being made to separate the two terms as GCC contains tools to compile more than C.

Documentation in this section will refer to gcc, the GNU C compiler. The intent is to provide a quick lookup of common actions and options. The GCC project has detailed documentation at https://gcc.gnu.org which document installation, general usage, and every command line option. Please refer to the official GCC documentation on any question not answered here. If a certain topic is unclear in the GCC documentation, please request specific examples.

Warnings

It is a good practice to enable most warnings while developing a software.

Code coverage: gcov

GCC provide some documentation of gcov here

Gcovr and Lcov can be used to help generate and summarize the coverage results

GNU C Extensions

GCC Optimizations

Content on the page is taken from Stack Overflow Documentation

This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service