Advanced C and C++ Compiling (Paperback)
暫譯: 進階 C 與 C++ 編譯技術 (平裝本)

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 工具箱