Open main menu

GNU Fortran or GFortran is the name of the GNU Fortran compiler, which is part of the GNU Compiler Collection (GCC). It includes full support for the Fortran 95 language, and supports large parts of the Fortran 2003 and Fortran 2008 standards.[2][3] It supports the OpenMP[4] multi-platform shared memory multiprocessing, up to its latest version (4.5).[5] GFortran is also compatible with most language extensions and compilation options supported by g77,[6] and many other popular extensions of the Fortran language.[7]

GNU Fortran
GNU Compiler Collection logo.svg
Developer(s)GNU Project
Initial releaseApril 20, 2005; 14 years ago (2005-04-20)[1]
Stable release
9.2[1] / 12 August 2019; 2 months ago (2019-08-12)
Repository Edit this at Wikidata
Written inC, C++
Operating systemCross-platform
LicenseGNU General Public License (version 3 or later) Edit this at Wikidata

Since GCC version 4.0.0, released in April 2005,[8] GFortran has replaced the older g77 compiler. The new Fortran front-end for GCC was rewritten from scratch,[9] after the principal author and maintainer of g77, Craig Burley, decided in 2001 to stop working on the g77 front end.[10] GFortran forked off from g95 in January 2003, which itself started in early 2000. The two codebases have "significantly diverged" according to GCC developers.[11] Since 2010 the front-end, like the rest of the GCC project, was migrated to C++, while it was previously written in C.[12]

See alsoEdit


  1. ^ a b "GCC Releases – GNU Project – Free Software Foundation (FSF)". GNU Project. Retrieved 2019-02-23.
  2. ^ "Chart of Fortran 2003 Features supported by GNU Fortran". GNU. Retrieved 2009-06-25.
  3. ^ "Chart of Fortran 2008 Features supported by GNU Fortran". GNU. Retrieved 2009-06-25.
  4. ^
  5. ^
  6. ^ "Discussion of incompatibilities between g77 and gfortran". GNU. Retrieved 2007-01-26.
  7. ^
  8. ^
  9. ^
  10. ^
  11. ^ "The other GCC-based Fortran compiler". GNU. Retrieved 2007-04-11.
  12. ^

External linksEdit