3. Using the C++ Compiler Options
6. Creating and Using Templates
9. Improving Program Performance
10. Building Multithreaded Programs
12. Using The C++ Standard Library
13. Using the Classic iostream Library
14. Using the Complex Arithmetic Library
15.2 Building Static (Archive) Libraries
15.3 Building Dynamic (Shared) Libraries
15.4 Building Shared Libraries That Contain Exceptions
15.6 Building Libraries for Public Use
15.7 Building a Library That Has a C API
When an organization builds a library for internal use only, the library can be built with options that are not advised for more general use. In particular, the library need not comply with the system’s application binary interface (ABI). For example, the library can be compiled with the -fast option to improve its performance on a known architecture. Likewise, it can be compiled with the -xregs=float option to improve performance.