HP secure development lifecycle......................................................................
7
1 An overview of HP Fortran...........................................................................
8
The HP Fortran compiler environment...........................................................................................
Driver......................................................................................................................................
9
C preprocessor.......................................................................................................................
10
Front-end...............................................................................................................................
11
Back-end...............................................................................................................................
13
Linker....................................................................................................................................
15
Tools.....................................................................................................................................
17
HP-UX operating system...........................................................................................................
2 Compiling and linking..............................................................................
18
Compiling with the f90 command.............................................................................................
f90 command syntax..........................................................................................................
Command-line options............................................................................................................
19
Commonly-used options......................................................................................................
20
Command-line options by category......................................................................................
Option descriptions............................................................................................................
21
Symbol binding options...........................................................................................................
37
Using optimization options.......................................................................................................
38
Reviewing general optimization options.....................................................................................
Fine-tuning optimization options...............................................................................................
40
Filenames..............................................................................................................................
49
Linking HP Fortran programs....................................................................................................
50
Linking with f90 vs. ld.........................................................................................................
Linking to libraries..............................................................................................................
51
Linking to nondefault libraries.........................................................................................
52
Linking HP Fortran 90 routines........................................................................................
Additional HP Fortran libraries........................................................................................
53
Linking to shared libraries...............................................................................................
Library search rules.......................................................................................................
54
Special-purpose compilations...................................................................................................
Compiling programs with modules.......................................................................................
Examples.....................................................................................................................
56
Compiling with make.....................................................................................................
57
Managing .mod files.....................................................................................................
58
Compiling for different PA-RISC machines..............................................................................
Creating shared libraries....................................................................................................
59
Compiling with +pic......................................................................................................
Linking with -b..............................................................................................................
60
Using the C preprocessor........................................................................................................
Processing cpp directives....................................................................................................
61
Saving the cpp output file...................................................................................................
62
Creating demand-loadable executables.....................................................................................
Creating shared executables....................................................................................................
Compiling in 64-bit mode........................................................................................................
63
Using environment variables.....................................................................................................
F90ROOT environment variable...........................................................................................
64
ST_F90COM[64] environment variable.................................................................................
HP_F90OPTS environment variable......................................................................................
Contents 3