DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(autocf21.info.gz) Fortran 77 Compiler Characteristics

Info Catalog (autocf21.info.gz) C Compiler Characteristics (autocf21.info.gz) Existing Tests (autocf21.info.gz) System Services
 
 4.8 Fortran 77 Compiler Characteristics
 =======================================
 
 The following macros check for Fortran 77 compiler characteristics.  To
 check for characteristics not listed here, use `AC_TRY_COMPILE' (
 Examining Syntax) or `AC_TRY_RUN' ( Run Time), making sure to
 first set the current lanuage to Fortran 77 `AC_LANG_FORTRAN77' (
 Language Choice).
 
  -- Macro: AC_F77_LIBRARY_LDFLAGS
      Determine the linker flags (e.g. `-L' and `-l') for the "Fortran
      77 intrinsic and run-time libraries" that are required to
      successfully link a Fortran 77 program or shared library.  The
      output variable `FLIBS' is set to these flags.
 
      This macro is intended to be used in those situations when it is
      necessary to mix, e.g. C++ and Fortran 77 source code into a single
      program or shared library ( Mixing Fortran 77 With C and C++
      (automake)Mixing Fortran 77 With C and C++.).
 
      For example, if object files from a C++ and Fortran 77 compiler
      must be linked together, then the C++ compiler/linker must be used
      for linking (since special C++-ish things need to happen at link
      time like calling global constructors, instantiating templates,
      enabling exception support, etc.).
 
      However, the Fortran 77 intrinsic and run-time libraries must be
      linked in as well, but the C++ compiler/linker doesn't know by
      default how to add these Fortran 77 libraries.  Hence, the macro
      `AC_F77_LIBRARY_LDFLAGS' was created to determine these Fortran 77
      libraries.
 
Info Catalog (autocf21.info.gz) C Compiler Characteristics (autocf21.info.gz) Existing Tests (autocf21.info.gz) System Services
automatically generated byinfo2html