libc name. This situation does not cause an error at

 

compile time, but can produce unpredictable results.

 

 

+[no]uppercase

+uppercase uses uppercase for external names. The

 

default, +nouppercase, is to convert external names to

 

lowercase.

 

If you need to control the case of specific names, use

 

the$HP$ ALIAS directive, as described in “$HP$ ALIAS”

 

(page 124).

 

 

+usage

+usage lists and briefly describes all of the command-line

 

options currently supported by the HP Fortran compiler.

 

No compile occurs.

 

 

-v

-venables the verbose mode, producing a step-by-step

 

description of the compilation process on the standard

 

error output.

 

 

+version

+version displays compiler version information only; no

 

compilation occurs.

 

 

-w

-wsuppresses warning messages. If this option is omitted,

 

warnings are sent to standard error.

 

 

+what

+whatprints the what string for the Fortran 90 driver,

 

providing version and patch numbers.

 

 

-Wx,arg1,arg2,...,argN

-Wcauses arg1 through argNto be handed off to

 

subprocess x. Each arg takes the form:

 

-option[,value]

 

where option is the name of an option recognized by

 

the subprocess and value is a separate argument to option,

 

where necessary. The values that x can assume are listed

 

in Table 2-8.

 

For example, the following option tells the linker to print a

 

trace of each input file as ld processes it:

 

-Wl,-t

 

The next example passes the -ashared option to the linker,

 

causing it to select shared libraries for linking.

 

-Wl,-a,shared

 

 

Table 17

Value

Meaning

a

Assembler

 

 

 

c

Compiler

 

 

 

l

Linker

 

 

 

p

C preprocessor

 

 

 

 

 

 

-Y=lang

 

Enable Native Language Support in the given language

 

 

(lang). This has the same functionality as the +nlsoption.

 

 

 

+z

 

see+pic=short in this chapter. If +z is specified when

 

 

creating 64-bit code, it instead maps to +Z.

 

 

 

+Z

 

see+pic=long in this chapter for a description. Note that

 

 

when creating 64-bit shared executables (such as when

 

 

 

36 Compiling and linking