HP-UX HB v13.00 Ch-11 - Software Development

HP-UX Handbook Rev 13.00 Page 65 (of 101)
Chapter 11 Software Development
October 29, 2013
Normally there are no known problems installing these products. Upgrading them is done with
patches. Every patch can be installed on a base HP-UX installation, but might have
dependencies.
The second category of products is also free but must be installed separately:
Java
Perl
wdb/gdb debugger
The products can be downloaded from the web. There are no patches available for these
products. Upgrading them always requires installing a complete new version.
In the third category we find the products which must be purchased. These will be discussed in
the next paragraph.
Compiler Installation/Upgrade
Installation can be done from the application CD/DVD, but a codeword is required. These
products can also be downloaded via the Software Update Manager of the HPSC [6], if the
customer has an appropriate contract.
Compiler upgrades are not always straight forward, because they don't have a unique base
release to be upgraded to a new version with a patch. Instead, from time to time there will be
new base releases, and inbetween patches are released that can only be installed on the most
recent base version.
To find out what is the latest version of a compiler, always check their release history. It also
contains information about which base release is required for which patch.
There are several ways to find out the currently installed version of a compiler. aCC V, cc -V
(Version 6.0 or later) and f90 +version return the version number. The -V option to aCC and
cc also prints the versions of the subprocesses invoked, but you must compile something to make
them invoke any subprocess. Every compiler frontend has a what string that tells you the exact
version. The third way is to look up the SD database with swlist(1M). Note that the version
numbering returned by swlist(1M) sometimes is different from the what strings:
$ uname r
B.11.11
$ aCC -V
aCC: HP ANSI C++ B3910B A.03.27
$ what $(which aCC)
/opt/aCC/bin/aCC:
HP aC++ B3910B A.03.27
HP aC++ B3910B A.03.25 Language Support Library