Welcome to the HP-UX Linker and Libraries User's Guide for HP-UX systems.
This guide is organized into the following chapters:
|
Compiling and Linking Programs on HP-UX |
This chapter describes the process of compiling and linking programs on HP-UX. An example is used to illustrate the process. The sections here
describe the process of creating an executable file and explain
how ld creates an executable file from one or more object files.
This chapter also describes the conventions for using libraries with ld, describes the process of loading
and binding programs at run time, and explains the thread-safe features of linker. In addition, it explains the means by which
you can control how the linker links your programs or libraries.
more»
|
Determining How to Link Programs or Libraries |
This chapter describes the tasks you can perform using the Compiler commands and Linker commands.
The tasks help you determine how the linker must link your program or library.
more»
|
Linker Tools for Itanium®-Based Systems |
This chapter describes the linker toolset available for IA systems. The linker toolset provides several tools to
help you find symbols, display and modify object files, and determine link order.
more»
|
Linker Tools for PA-RISC Systems |
This chapter describes the linker toolset available for PA-RISC systems. The linker toolset provides several tools to
help you find symbols, display and modify object files, and determine link order.
more»
|
Linker Toolset Differences
Between PA-RISC and Itanium-Based Systems |
This chapter describes some of the linker toolset differences between PA-RISC and Itanium-based systems.
This chapter also describes linker options specific to PA64 mode, symbols reserved by linker,
system library location, changes to
the library name extension, and dynamic path searching for shared libraries.
more»
|
Creating and Using Libraries |
This chapter provides an overview of shared and archived libraries, explains creating and using libraries
on HP-UX, and describes how to use shared libraries for programs in IA.
more»
|
Shared Library Management Routines |
This chapter explains shared library header files, initializers for shared libraries, and the
various shared library management routines.
more»
|
Writing and Generating Position-Independent Code |
This chapter is applicable to only PA-RISC 32-bit applications.
The chapter explains relocatable object code, absolute object code, and position-independent code.
The chapter also explains how to generate position-independent code.
more»
|
Using Mapfiles |
This chapter explains how to use mapfiles. The mapfile option, which is an advanced feature of the linker toolset,
is intended for use in system programming.
more»
|
Improving Your Application Performance |
This chapter explains how you can use linker to improve the performance of your applications. This chapter discusses
options to improve TLB hit rates, incremental linking, profile-based optimization, and other ways to
improve application performance.
more»
|
Glossary |
The glossary provides definitions of terms listed alphabetically.
more»
|