HP-UX 64-bit systems
provide a new subdirectory called pa20_64
for 64-bit versions of system and HP product libraries.
The 64-bit file system layout leaves the current 32-bit directory
structure intact. This helps preserve binary compatibility with
32-bit versions of shared libraries whose paths are embedded in
executables.
Figure 2-2 “New Subdirectory
for 64-bit Libraries (pa20_64) ” shows the
new directory structure:
The linker automatically finds the correct set of system libraries
depending on whether the application is compiled in 32-bit or 64-bit
mode.
Library providers are encouraged to supply both 32-bit and
64-bit versions of application libraries. Be sure to develop a strategy
for library naming conventions, directory structures, link-time
options, and run-time environment variables.