Advanced C and C++ Compiling Front Cover

Advanced C and C++ Compiling

  • Length: 340 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2014-04-22
  • ISBN-10: 1430266678
  • ISBN-13: 9781430266679
  • Sales Rank: #1002602 (See Top 100 Books)
Description

Learning how to write C/C++ code is only the first step. To be a serious programmer, you need to understand the structure and purpose of the binary files produced by the compiler: object files, static libraries, shared libraries, and, of course, executables.

Advanced C and C++ Compiling explains the build process in detail and shows how to integrate code from other developers in the form of deployed libraries as well as how to resolve issues and potential mismatches between your own and external code trees.

With the proliferation of open source, understanding these issues is increasingly the responsibility of the individual programmer. Advanced C and C++ Compiling brings all of the information needed to move from intermediate to expert programmer together in one place — an engineering guide on the topic of C/C++ binaries to help you get the most accurate and pertinent information in the quickest possible time.

What you’ll learn

  • The details of the build process, including compiling and linking
  • The inner workings of static libraries, shared libraries, and executables
  • Ways to properly architect code for smooth integration of future changes
  • Tips for troubleshooting problems with compiling and linking as well as run-time problems
  • How to use operating system-specific (Linux and Windows) tools for analysis of binary files

Who this book is for

C/C++ software designers aspiring to senior levels, software architects, build engineers, and Linux system administrators.

Table of Contents

Chapter 1. Multitasking OS Basics
Chapter 2. Simple Program Lifetime Stages
Chapter 3. Program Execution Stages
Chapter 4. The Impact of Reusing Concept
Chapter 5. Working with Static Libraries
Chapter 6. Designing Dynamic Libraries: Basics
Chapter 7. Locating the Libraries
Chapter 8. Designing Dynamic Libraries: Advanced Topics
Chapter 9. Handling Duplicate Symbols When Linking In Dynamic Libraries
Chapter 10. Dynamic Libraries Versioning
Chapter 11. Dynamic Libraries Miscellaneous Topics
Chapter 12. The Linux Toolbox
Chapter 13. Linux Tasks
Chapter 14. Windows Toolbox

To access the link, solve the captcha.