
7. Related tools
The compiler is just one element in a programmer's software workshop. The compiler can render other services such as debugging, profiling, serving as a build engine, ensuring dependability, or enabling cross-compilation.
7.1 Debugger
The compiler can generate information in the binary code that will be used by debugging tools such as GDB . This information is used to link the binary instructions to the lines of code in the source program.
For example, to compile a program in the file Application .c, use the command
gcc -g -o Application Application.c
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!

The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Related tools
Bibliography
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!

The Ultimate Scientific and Technical Reference