Welcome to the home of
GNU Fortran 95

This web page is sadly out-of-date and difficult to maintain due to several factors. The rather small number of gfortran developers have a large list of bugs to squash or features to implement, and the time spent maintaining this web page is better spent elsewhere. For up-to-date information, you may find the gfortran wiki a more useful site. The gfortran wiki can be changed by anyone who wishes to contribute. Neither copyright paperwork nor a patch review process is required.

The GNU Fortran 95 project, or gfortran, is developing a Fortran 95 compiler front end, as well as runtime libraries, for GCC, the GNU Compiler Collection. Gfortran development is a part of the GNU Project, aiming to bring free number crunching to all GNU system variants. The gfortran development effort uses an open development environment in order to attract a larger team of developers and to ensure that gfortran can work on multiple architectures and diverse environments.

In particular, the project wishes to reach the users of the Fortran 95 language, be it in the scientific community, in education or in a commercial environment. Today, truly free Fortran 90 or Fortran 95 compilers do not exist. We are trying to make one available to the Fortran community.

You can reach us at the fortran@gcc.gnu.org mailing list; for details please refer to our mailing lists page.

Project goal

We strive to provide a high quality release, which we want to work well on a variety of native targets. Although we believe we cannot make the best Fortran 95 compiler for any given target, we want gfortran to be adequate.

The focus is on conformance to the Fortran 95 standard and on good performance of the executables produced by the compiler. Secondary goals include reasonable compile speed, a small memory foot print, and the ability to build a cross-compiler.

We expect to provide the following language extensions.

Status of compiler and run time library

We regularly update the status of the front end development and the status of the run time library development. We also keep a TODO list.

Contributing

We encourage everyone to contribute changes and help test gfortran. Gfortran is developed on the mainline of GCC, and will officially be released with the 4.0.0 release of the compiler collection. We provide read access to our development sources for everybody with anonymous CVS. If you do not have CVS access (for instance because you are behind a firewall prohibiting the CVS protocol), you might want to download snapshots.

Contributions will be reviewed by the following people:

under the rules specified below:

The directories involved are:

  1. gcc/gcc/fortran/
  2. gcc/gcc/testsuite/gfortran.dg/
  3. gcc/gcc/testsuite/gfortran.fortran-torture/
  4. gcc/libgfortran/

Binaries

The GNU project is about providing source code for its programs. Sometimes, however, it is easier to install a binary directly. A number of people regularly build binaries for different platforms. Links to these can be found in the wiki.

Documentation

The manuals for release and current development versions of GNU Fortran 95 can be downloaded from the GCC documentation page.

Usage

Here is a short explanation on how to invoke and use the compiler once you have built it (or downloaded the binary).

Suggested reading

We provide links to some information relevant to Fortran programmers.