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 libra...

Buy Now From Amazon

Product Review

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


Similar Products

Linkers and Loaders (The Morgan Kaufmann Series in Software Engineering and Programming)CMake Cookbook: Building, testing, and packaging modular software with modern CMakeAn Introduction to GCC: For the GNU Compilers GCC and G++UNIX: A History and a MemoirC++ Concurrency in ActionManaging Projects with Gnu Make (Nutshell Handbooks)The Linux Programming Interface: A Linux and UNIX System Programming HandbookEffective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14The Pragmatic Programmer: your journey to mastery, 20th Anniversary Edition (2nd Edition)C++ High Performance: Boost and optimize the performance of your C++17 code