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. Currently available are: Windows, MacOS and GNU/Linux. Otherwise you can build GNU Fortran from source.


Windows

Three kinds of packages are provided for Windows users: cygwin (for cygwin users) and mingw/"native Windows" (for people who do not use cygwin). If in doubt, or if you don't know what cygwin and mingw are, the package for you is the "native Windows" package!

Note that the MinGW project itself will not provide official binary downloads of GCC 4.x (including gfortran) until the number of regressions has been reduced (see http://article.gmane.org/gmane.comp.gnu.mingw.user/21938). Until then, binary builds of g77 (the GCC 3.x compiler) are available from the MinGW Download page; thus the binaries available above are - with regards to the MinGW project - unofficial builds.


MacOS

gfortran is available as a nice Apple-style installer for MacOS X Tiger (10.4) and Leopard (10.5) users. It is easy to install. Detailed instructions are here. Both PowerPC and Intel compilers are provided:

There's also an Xcode plugin for gfortran which uses the binaries compiled by Gaurav Khanna.


GNU/Linux

Most Linux distributions offer gfortran packages (including 4.2.0) For those of you who wish to try the latest gfortran (under development), we offer daily builds for the 32bit x86 (ia32, i386, x86-32) and the 64bit x86-64 (AMD64, Intel em64t, Intel64) Linux systems.


Building from Source

First obtain the source code either via subversion 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). After make and make install you have built your own GCC.

None: GFortranBinaries (last edited 2008-05-11 00:11:36 by JerryDeLisle)