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

HP-UX Handbook Rev 13.00 Page 38 (of 101)
Chapter 11 Software Development
October 29, 2013
Java is discussed separately because it is different from conventional languages in several ways.
Development Tools
HP Compilers
HP provides compilers for all commonly used programming languages. The following table lists
them along with product number and description:
Language
Product Number
Frontend Command
Sourcefile
Extensions
s700
s800
HP C/ANSI C
B9007AA
B9007AA
/opt/ansic/bin/cc
.c
HP aC++
B9007AA
B9007AA
/opt/aCC/bin/aCC
.c, .C, .cpp,
.cxx
HP C/aC++
B9007AA,
B9007AAEVAL
See above
see above
Fortran90
B3907DB
B3909DB
/opt/fortran90/bin/f90
.f, .F, .f90,
.F90
These compilers are not shipped with the HP-UX core. They are separate products which must
be purchased separately, are codeword protected and can be installed from the application
CD's/DVD or downloaded from the HP Software Depot [5].
The HP C/aC++ bundle B9007AA contains both C and C++ compilers. Customers can obtain a
free 60 day evaluation version for this bundle. To upgrade from the evaluation version to the full
version, the evaluation version must be swremoved first and the full version must be installed
afterwards.
The HP-UX core OS comes with the so called bundled C compiler /usr/ccs/bin/cc, which is
often misunderstood of being capable compiling ANSI style C code. The bundled cc is needed
for kernel builds and is not intended to be used for application programming. It can be used to
compile K&R style programs only. K&R is an old C dialect which is not used anymore by
today’s programs. Customers who want to compile ANSI C programs on HP-UX need the
C/ANSI C Developers Bundle.
All HP compilers use a common development environment, which is shipped in separate
products of the compiler bundles:
Auxiliary-Opt Auxiliary Optimizer for HP Languages
DebugPrg Debugging Support Tools
WDB HP Wildebeest (HP WDB) Debugger