DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(automk14.info.gz) Fortran 77 Support

Info Catalog (automk14.info.gz) C++ Support (automk14.info.gz) Programs (automk14.info.gz) Support for Other Languages
 
 7.8 Fortran 77 Support
 ======================
 
 Automake includes full support for Fortran 77.
 
    Any package including Fortran 77 code must define the output variable
 `F77' in `configure.in'; the simplest way to do this is to use the
 `AC_PROG_F77' macro ( Particular Program Checks
 (autoconf)Particular Programs.).   Fortran 77 and Autoconf.
 
    A few additional variables are defined when a Fortran 77 source file
 is seen:
 
 `F77'
      The name of the Fortran 77 compiler.
 
 `FFLAGS'
      Any flags to pass to the Fortran 77 compiler.
 
 `RFLAGS'
      Any flags to pass to the Ratfor compiler.
 
 `F77COMPILE'
      The command used to actually compile a Fortran 77 source file.
      The file name is appended to form the complete command line.
 
 `FLINK'
      The 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(1).  Automake also contains some support
 for creating programs and shared libraries that are a mixture of
 Fortran 77 and other languages ( Mixing Fortran 77 With C and
 C++).
 
    These issues are covered in the following sections.
 

Menu

 
* Preprocessing Fortran 77
* Compiling Fortran 77 Files
* Mixing Fortran 77 With C and C++
* Fortran 77 and Autoconf
 
    ---------- Footnotes ----------
 
    (1) Much, if not most, of the information in the following sections
 pertaining to preprocessing Fortran 77 programs was taken almost
 verbatim from  Catalogue of Rules (make)Catalogue of Rules.
 
Info Catalog (automk14.info.gz) C++ Support (automk14.info.gz) Programs (automk14.info.gz) Support for Other Languages
automatically generated byinfo2html