form +option=arg. You can cause f90 to list the values for arg on stderr by specifying just the option name without an argument. For example, given the command line:
$ f90 +langlvl= prog.f90
f90 will issue the following message:
f90: The '+langlvl=' option requires one of
s
Still other options take a name as an argument. For example, the
For detailed information about the syntax of all the options, see the HP Fortran Programmer’s Reference. For a brief descriptive list of the options, use the command line:
$ f90 +usage
Table
Table 7
Option | Function |
|
|
Compile without linking. Use this option to compile and | |
| link in separate steps. |
|
|
Prepare program for debugging. Use this option to prepare | |
| your program for debugging. |
|
|
Specify where to look for libraries; applies only to | |
| succeeding |
| if the LPATH environment variable is set. |
|
|
Specify a library. Use this option to link in library routines. | |
|
|
Optimize. Use this option to optimize your program at the | |
| default level of optimization. |
|
|
+save | Give the SAVE attribute to local variables. Use this option |
| when porting older Fortran programs that may contain |
| uninitialized variables. |
|
|
Name the output file outfile. Use this option to name | |
| the executable or object file. |
|
|
+usage | List all |
|
|
Enable verbose mode. Use this option to get a report on | |
| the compilation process. |
|
|
Set include file and module search path. | |
|
|
Specify that the arg has to be passed by a linker option. | |
|
|
Table
20 Compiling and linking