Here is bit of insight to versions of PA-RISC architecture. There are three versions of PA-RISC processors 1.0(32 bit), 1.1(32 bit) and 2.0(64 bit). Following link provides more information on all three versions of PA-RISC.
Now, how can we find the version of processor in any machine?
Open SAM -> Performance Monitors -> System Properties . This provides information on CPU version. From the CPU version information and above link, version of PA-RISC on any system can be figured out.
Binaries built on PA-RISC 2.0, will not work on other PA-RISC version. In order to make it compatible with other PA-RISC versions, compiler flag +DAportable need to be added while building. There are other +DA i.e. +DA1.1 +DA867 +DA2.0 +DAportable flags which can be added during compilation. The first two examples generate code for the PA-RISC 1.1 architecture, third generate’s code for the PA-RISC 2.0 architecture and fourth generates code compatible for all 1.1 and 2.0.
cc -o test +DD1.1 test.c — test binary will work only on PA-RISC 1.1 version
cc -o test +DAportable test.c — test binary will work only on all PA-RISC versions