Skip to content

Development Environment / gfortran

The gfortran compiler is a free and open source compiler that supports code written in Fortran 77 and newer versions. See the following resources:

This documentation contains the following sections:


Prerequisites

On Windows, either MinGW or Cygwin must have been installed. The initial focus of this documentation is the MinGW environment.

Install gfortran

The gfortran compiler is installed differently depending on the operating system, as described below.

Linux Linux

Install the gfortran package. Refer to the installation tools for the specific Linux distribution.

Cygwin Windows - Cygwin

Use the Cygwin installer to install the gcc-fortran package.

Windows Windows - MinGW

The gfortran compiler is installed as part of the MinGW installation.