Advanced C and C++ Compiling (Paperback)

Milan Stevanovic

買這商品的人也買了...

相關主題

商品描述

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

商品描述(中文翻譯)

學習如何撰寫 C/C++ 程式只是第一步。要成為一個嚴謹的程式設計師,您需要了解編譯器產生的二進制檔案的結構和用途:目標檔、靜態函式庫、共享函式庫,當然還有執行檔。

《進階 C 和 C++ 編譯》詳細解釋了建置過程,並展示了如何整合其他開發者的程式碼,包括部署函式庫,以及如何解決自己和外部程式碼之間的問題和潛在不匹配。

隨著開源的普及,理解這些問題越來越成為個別程式設計師的責任。《進階 C 和 C++ 編譯》將所有從中級到專家程式設計師所需的資訊集中在一個地方,成為一本關於 C/C++ 二進制檔案的工程指南,以幫助您在最短的時間內獲得最準確和相關的資訊。

您將學到以下內容:
- 編譯和連結的詳細過程
- 靜態函式庫、共享函式庫和執行檔的內部運作方式
- 正確架構程式碼以實現未來變更的順暢整合的方法
- 解決編譯和連結問題以及執行時問題的疑難排解技巧
- 如何使用特定於作業系統(Linux 和 Windows)的工具分析二進制檔案

本書適合 C/C++ 軟體設計師,渴望晉升到高級職位的軟體架構師、建置工程師和 Linux 系統管理員。

目錄:
1. 多工作業系統基礎
2. 簡單程式生命週期
3. 程式執行階段
4. 重複使用概念的影響
5. 使用靜態函式庫
6. 設計動態函式庫:基礎
7. 定位函式庫
8. 設計動態函式庫:進階主題
9. 在連結動態函式庫時處理重複符號
10. 動態函式庫版本控制
11. 動態函式庫其他主題
12. Linux 工具箱
13. Linux 如何
14. Windows 工具箱