| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.14 Fortran 77 Support
Automake includes full support for Fortran 77.
Any package including Fortran 77 code must define the output variable
F77 in ‘configure.ac’; the simplest way to do this is to use
the AC_PROG_F77 macro (see Particular Program Checks in The Autoconf Manual).
A few additional variables are defined when a Fortran 77 source file is seen:
F77The name of the Fortran 77 compiler.
FFLAGSAny flags to pass to the Fortran 77 compiler.
AM_FFLAGSThe maintainer’s variant of
FFLAGS.RFLAGSAny flags to pass to the Ratfor compiler.
AM_RFLAGSThe maintainer’s variant of
RFLAGS.F77COMPILEThe command used to actually compile a Fortran 77 source file. The file name is appended to form the complete command line.
FLINKThe command used to actually link a pure Fortran 77 program or shared library.
Automake can handle preprocessing Fortran 77 and Ratfor source files in addition to compiling them(5). Automake also contains some support for creating programs and shared libraries that are a mixture of Fortran 77 and other languages (see section Mixing Fortran 77 With C and C++).
These issues are covered in the following sections.
| 8.14.1 Preprocessing Fortran 77 | Preprocessing Fortran 77 sources | |
| 8.14.2 Compiling Fortran 77 Files | Compiling Fortran 77 sources | |
| 8.14.3 Mixing Fortran 77 With C and C++ |
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 25, 2014 using texi2html 5.0.
