Perl can be compiled with either HP's ANSI C compiler or with gcc. HP-UX used to run on the Motorola MC68000 family of chips, but any machine with this chip in it is quite obsolete and this document will not attempt to address issues for compiling Perl on the Motorola chipset. The original version of PA-RISC, HP no longer sells any system with this chip. An upgrade to the PA-RISC design, it shipped for many years in many different system. The second column is the PA-RISC version and the third column is the exact chip type used.
Shared libraries end with the suffix .sl.
Link the shared library using the -b flag. You may create a shared library that refers to another library, which may be either an archive library or a shared library. The dependent library's name is recorded in the main shared library, but it is not linked into the shared library. Instead, it is loaded when the main shared library is loaded. This can cause problems if you build an extension on one system and move it to another system where the libraries may not be located in the same place as on the first system.