Package Info

perl-ExtUtils-F77


Simple interface to F77 libs


Unspecified

This module tries to figure out how to link C programs with Fortran subroutines on your system. Basically one must add a list of Fortran runtime libraries. The problem is their location and name varies with each OS/compiler combination! It was originally developed to make building and installation of the PGPLOT module easier, which links to the pgplot Fortran graphics library. It is now used by a number of perl modules.

This module tries to implement a simple 'rule-of-thumb' database for various flavours of UNIX systems. A simple self-documenting Perl database of knowledge/code for figuring out how to link for various combinations of OS and compiler is embedded in the modules Perl code. Please help save the world by submitted patches for new database entries for your system at https://github.com/PDLPorters/extutils-f77

Note the default on most systems is now to search for a generic 'GNU' compiler which can be gfortran, g77, g95 or fort77 (in that order based on usage) and then find the appropriate link libraries automatically. (This is the 'Generic' 'GNU' database entry in the code.)

The target compiler can be explicitly overriden by setting the environment variable F77, e.g.

% setenv F77 "x86_64-pc-linux-gnu-gfortran" % perl -MExtUtils::F77 -e 'print ExtUtils::F77->compiler, "\n"'

The library list which the module returns can be explicitly overridden by setting the environment variable F77LIBS, e.g.

% setenv F77LIBS "-lfoo -lbar" % perl -MExtUtils::F77 -e 'print ExtUtils::F77->runtime, "\n"' ...


License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/ExtUtils-F77

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.26-bp155.2.9 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-ExtUtils-F77
1.26-bp154.1.18 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-ExtUtils-F77
1.20-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-ExtUtils-F77
1.20-bp152.3.13 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-ExtUtils-F77
1.20-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-ExtUtils-F77
1.20-bp151.2.12 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-ExtUtils-F77
1.20-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-ExtUtils-F77