Other tools in the toolchain

The following table shows various other commands in the toolchain together with a brief description:

Command

Description

addr2line

Converts program addresses into filenames and numbers by reading the debug symbol tables in an executable file. It is very useful when decoding addresses printed out in a system crash report.

ar

The archive utility is used to create static libraries.

as

This is the GNU assembler.

c++filt

This is used to demangle C++ and Java symbols.

cpp

This is the C preprocessor, and is used to expand #define, #include, and other similar directives. You seldom need to use this by itself.

elfedit

This is used to update the ELF header of ELF files.

g++

This is the GNU C++ front-end, which ...

Get Linux: Embedded Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.