Compaq Fortran
User Manual for
Tru64 UNIX and Linux Alpha Systems


Previous Contents Index

A.2 Compatibility with Compaq Fortran 77 for Compaq Tru64 UNIX Systems

This section provides compatibility information for those porting Compaq Fortran 77 applications from Compaq Tru64 UNIX systems. It discusses the following topics:

A.2.1 Major Language Features for Compatibility with Compaq Fortran 77 for Compaq Tru64 UNIX Systems

On Compaq Tru64 UNIX systems, to simplify porting applications from Compaq Fortran 77 to Compaq Fortran, Compaq Fortran Version 5.3 supports the following Compaq Fortran 77 extensions that are not part of the Fortran 95/90 standards:

In addition to language extensions, Compaq Fortran Version 5.3 also supports the following Compaq Fortran 77 features:

For More Information:

On the Compaq Fortran language, see the Compaq Fortran Language Reference Manual.

A.2.2 Language Features Provided Only by Compaq Fortran 77 for Compaq Tru64 UNIX Systems

This section lists Compaq Fortran 77 extensions to the FORTRAN-77 standard that are not included in Compaq Fortran Version 5.3 for Compaq Tru64 UNIX Systems. Where appropriate, this list indicates equivalent Compaq Fortran language features.

Compaq Fortran conforms to the Fortran 95/90 standard, which is a superset of the FORTRAN-77 standard. Compaq Fortran provides many but not all of the FORTRAN-77 extensions provided by Compaq Fortran 77.

The following FORTRAN-77 extensions provided by Compaq Fortran 77 on Compaq Tru64 UNIX systems are not provided by Compaq Fortran in Version 5.3:

For More Information:

A.2.3 Improved Compaq Fortran Compiler Diagnostic Detection

The following language features are detected or interpreted differently by Compaq Fortran Version 5.3 and Compaq Fortran 77:

For More Information:

A.2.4 Compiler Command-Line Differences

Compaq Fortran 77 ( f77 command) and Compaq Fortran ( f90 command) share most of the same command-line options. The following options are provided only by Compaq Fortran 77 (not by Compaq Fortran):

The following options are provided only by Compaq Fortran (not by Compaq Fortran 77):

Effective with Compaq Fortran V5.3, the f77 command by default executes the Compaq Fortran 90 compiler and uses the DECF90* environment variables. To execute the Compaq Fortran 77 compiler, use the f77 command with the -old_f77 option. This option must be the first text on the command line after f77 .

A.3 Language Compatibility with Compaq Visual Fortran

The following language features found in Compaq Visual Fortran (and Microsoft® Fortran Powerstation Version 4) are now supported by Compaq Fortran:


Previous Next Contents Index