Binaries available for gfortran

This page gathers links to all unofficial gfortran binary packages people regularly build, based on the current development gfortran source code.

Note: There do not exist any official FSF/GNU/GCC binary builds (only source packages). Most of the builds below come from gfortran maintainers but not all.


Windows

If in doubt, or if you don't know what Cygwin and MinGW are, the package for you is the MinGW ("native Windows") package!


MacOS

The gfortran maintainers offer nice Apple-style installers for:

Detailed instructions can be found here.

From time to time builds of the current development 'trunk' might be provided. Note that these come with several caveats:

Currently available:

Other projects packaging GCC (and gfortran) binaries for Mac include:



GNU/Linux

Most Linux distributions offer gfortran packages, some have also builds for the experimental versions

Nightly builds are available at:


Building from Source

First obtain the source code either via subversion, GIT or as TAR-Ball. You can then follow the instructions, but in a nutshell you do: create a new directory, e.g. ../gcc-build, go there and run ../gcc/configure --prefix=$HOME/gcc-trunk --enable-languages=c,fortran. You may want to add more languages, --enable-checking=release (esp. useful for compile-time tests as it disables some consistency checks in the compile), --disable-bootstrap (builds faster, but disables some consistency checks), --disable-build-poststage1-with-cxx (GCC 4.7, avoids building GCC with a C++ compiler, esp. useful if no C++ should be compiled). After make and make install you have built your own GCC.

None: GFortranBinaries (last edited 2012-02-02 16:48:01 by BradFinney)