Table 6 Options for controlling the Linker (continued)

Option

Function

 

For information about the libU77 library, see “Additional

 

HP Fortran libraries” (page 53)and the HP Fortran

 

Programmer’s Reference.

 

 

-Wl,options

Pass a comma-separated list of options to the linker.

 

nl

 

For information about options supported by the linker, see

 

the ld(1) manpage.

Tools

The HP Fortran compiler environment includes a high-level language debugger and performance analysis tools. The debugger is HP WDB, which includes a graphical user interface. To prepare a program for debugging, you must compile it with the -goption. For information about this option, see “Using the HP WDB debugger” (page 76).

The performance analysis tools include the standard UNIX utilities, prof and gprof. To use prof and gprof, you must compile with the +prof and +gprof options, respectively. For more information about all of the performance analysis tools, see “Using profilers” (page 87)and the CXperf(1), prof(1), gprof(1), and ttv(1) manpages.

HP-UX operating system

Although the HP-UX operating system does not appear Figure 1-1 on page 3 , it provides a variety of resources for programs executing within HP-UX. For example, HP-UX captures the command line you use to invoke an executable program, breaks it up into arguments, and makes them available to your program.

HP-UX also has many callable system routines that provide low-level access to kernel-level resources. For example, your program can call HP-UX file-processing routines as alternatives to Fortran I/O.

“Writing HP-UX applications” (page 107) discusses how HP Fortran programs can take advantage of HP-UX resources. For a full description of HP-UX system routines, see the HP-UX Reference.

Tools 17