Chapter 5 121
Creating and Using Libraries
5 Creating and Using Libraries
Many libraries come with HP-UX. You can also create and use your own
libraries on HP-UX. This chapter provides information on the following
topics:
• General Information about Shared and Archive Libraries
• “Overview of Shared and Archive Libraries”
• “What are Archive Libraries?”
• “What are Shared Libraries?”
• “Example Program Comparing Shared and Archive Libraries”
• “Shared Libraries with Debuggers, Profilers, and Static Analysis”
• Creating Libraries on HP-UX
• “Creating Shared Libraries”
• “Creating Archive Libraries”
• Using Libraries on HP-UX
• “Switching from Archive to Shared Libraries”
• “Summary of HP-UX Libraries”
• “Caution When Mixing Shared and Archive Libraries”
• Using Shared Libraries in 64-bit Mode
• “Internal Name Processing”
• “Dynamic Path Searching for Shared Libraries”
• “Shared Library Symbol Binding Semantics”
• “Mixed Mode Shared Libraries”
• “64-bit Mode Library Examples”