Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Fortran 90 Compiler for HP-UX: Fortran 90 Programmer's Guide > Chapter 1 An overview of HP Fortran 90

Front-end

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

The front-end is responsible for parsing the source code and issuing warning and error messages when the parse fails. Compile-line options enable you to control the front end's assumptions about the source code, including whether the source is in fixed or free format, uses implicit or explicit typing, and contains extensions. Other front-end options control the level of error messages and their language (Native Language Support), default data sizes, and search rules for .mod files. For a list of the options that control the front end, see Table 1-3 “Options for controlling the front end”.

Table 1-3 Options for controlling the front end

OptionFunction
+[no]autodbl

Promote [do not promote] all integer, logical, and real items to 8 bytes, and all double-precision and complex items to 16 bytes. The default is +noautodbl.

For information about using this option, see “Increasing default data sizes”.

+[no]autodbl4

Promote [do not promote] all integer, logical, and real items to 8 bytes, and complex items to 16 bytes. The +autodbl4 option does not promote the size of double-precision and double-complex items. The default is +noautodbl4.

For information about using this option, see “Increasing default data sizes”.

+check={all|none}

Enable (+check=all) or disable (+check=none) compile-time range checking of array subscripts. The default is +check=none.

For information about using this option, see “Segmentation violation exception”.

+[no]dlines

Compile debug lines as source statements [comments]. Source lines must be in fixed format. The default, +nodlines, is to treat source lines with a D or d in column 1 as comments.

For information on using this option, see “Using debugging lines”.

+[no]escape

Treat the backslash character (\) as a C-like escape [literal] character. The default is +noescape.

For information on using this option when porting, see “Escape sequences”.

+[no]extend_source

Allow [do not allow] up to 254 characters on a single source line. The default, +noextend_source, is 72 characters for fixed format and 132 for free format.

For information on using this option when porting, see “Source formats”.

-Idirectory

Add directory to the list of directories searched for files specified in INCLUDE lines and include directives, and for .mod files. The command line can have multiple instances of this option, each specifying a different directory.

For information about using this option, see “Managing .mod files”.

+[no]implicit_none

Cause the types of identifiers to be implicitly undefined [defined]. The default is implicit typing (+noimplicit_none).

For information about using this option, see “Disabling implicit typing”.

+langlvl={90|default}

Issue warnings for all extensions to the Fortran 90 standard (+langlvl=90). The default, +langlvl=default, allows extensions.

For information about using this option, see Chapter 11 “Porting to HP Fortran 90”.

+[no]list

Write [suppress] a program listing to standard output during compilation. The default is +nolist.

+moddir=directory

Write .mod files to directory. The default is to write .mod files to the current directory.

For information about using this option, see “Managing .mod files”.

+nls=lang

Enable 16-bit Native Language Support (NLS) in strings and comments in the language specified by lang.

+[no]onetrip

Execute any counter-controlled DO loop at least once (+onetrip). The default is +noonetrip.

For information about using this option when porting, see “One-trip DO loops”.

+[no]ppu

Postpend [do not postpend] underscores at the end of definitions of and references to externally visible symbols. The default is +noppu.

For information about using this option when porting, see “Names with appended underscores”.

+real_constant={single|double}

Treat all single-precision real and complex constants as either single-precision (+real_constant=single) or double-precision (+real_constant=double). The default is +real_constant=single. This option has no effect on constants that are explicitly sized or when the +autodbl or +autodbl4 option is specified.

For information about using this option, see “Increasing the precision of constants”.

+source={fixed|free| default}

Accept source files in fixed format (+source=fixed) or free format (+source=free). The default, +source=default, is free for .f90 files and fixed for .f and .F source files.

For information about using this option, see “Source formats”.

+[no]uppercase

Use uppercase [lowercase] for all external names. The default is +nouppercase.

For information about using this option, see “Case sensitivity”.

-w

Suppress warning messages.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.