gcc -g

0001-01-01

The -g flag in gcc adds debugging information to compiled objects. This information is used to enrich the output of a debugger such as gdb, making the ...

Read More

gcc -S

0001-01-01

The -S flag in GCC compiles C or C++ code into assembly language without creating a final executable file.

Example:

gcc -S foo.c

This outputs the ...

Read More

gcc -static

0001-01-01

The -static flag in gcc is used to create static-linked executables.

Read More

gcc -std

0001-01-01

The -std command line flags in gcc tell the compiler which standard or dialect of the language to use.

Read More

gcc -W

0001-01-01

The gcc command line flags beginning with -W tell the compiler how to treat warnings.

Read More

gcc -Wall

0001-01-01

The -Wall flag in gcc enables all warnings for troublesome constructs.

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Read More

gcc -Wextra

0001-01-01

The -Wextra flag in gcc turns on additional warning flags that are not enabled by -Wall.

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Read More

gcore

0001-01-01

gcore is a command line utility that generates a core file of a running process. gcore is provided by the gdb package.

Read More

GDB

0001-01-01

GDB is the GNU debugger

GDB can run on most UNIX, Windows, and macOS hosts. It supports many languages such as Ada, Assembler, C, C++, D, Fortran, Go, ...

Read More

GECOS

0001-01-01

GECOS is the fifth field in the /etc/passwd file, specifying information about the user such as their real name, address, phone number, etc. ...

Read More