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 Embedded Linux for Developers 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.