An Introduction to GCC

Book image

Livro digital

Título:
An Introduction to GCC

Autor:
Brian Gough

Categoria:
Tecnologia > Backend

Doador:
Raffaello D. N.

Sinopse:
Compiling a small program is easy; understanding what happens when the code grows into multiple files, external libraries, headers, and platform-specific builds is where GCC becomes a real toolchain. Brian Gough starts with simple C programs, then follows the path from source files to object files and executables, explaining link order, recompilation, library search paths, and the errors that appear along the way. The guide expands into language standards, warning options, macros and preprocessing, debugging with core files and backtraces, and the trade-offs behind optimization levels, inlining, loop unrolling, and scheduling. It also introduces C++ compilation, the standard library, templates, and architecture-specific options, connecting everyday commands to the decisions the compiler and linker actually make. Rather than serving as a giant option catalog, this is a compact practical manual for readers who want command-line confidence and a clearer model of the build process. Its examples make compiler diagnostics less mysterious, expose the boundary between compilation and linking, and provide a durable foundation for debugging build failures, choosing useful warnings, and producing programs deliberately instead of by trial and error.

Livro digital disponível gratuitamente!
Clique no botão abaixo para receber este livro.
Seja o primeiro a receber este livro
Comprar na Amazon
Esse site salva cookies para uma melhor experiência de usuário. Saiba mais lendo nossaPolítica de Privacidade.