GNU Fortran

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
GNU Fortran
GNU Compiler Collection logo.svg
Developer(s)GNU Project
Initial releaseApril 20, 2005; 17 years ago (2005-04-20)[1]
Stable release
11.2[2][1] / 27 July 2021; 13 months ago (2021-07-27)
Written inC, C++
Operating systemCross-platform
LicenseGNU General Public License (version 3 or later) Edit this at Wikidata

GNU Fortran or GFortran is 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.[3][4] It supports the OpenMP[5] multi-platform shared memory multiprocessing, up to its latest version (4.5).[6] GFortran is also compatible with most language extensions and compilation options supported by g77,[7] and many other popular extensions of the Fortran language.[8]

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

See also[edit]


  1. ^ a b "GCC Releases – GNU Project – Free Software Foundation (FSF)". GNU Project. Retrieved 2019-02-23.
  2. ^ "GCC 11 Release Series - GNU Project - Free Software Foundation (FSF)". Retrieved 2021-07-28.
  3. ^ "Chart of Fortran 2003 Features supported by GNU Fortran". GNU. Retrieved 2009-06-25.
  4. ^ "Chart of Fortran 2008 Features supported by GNU Fortran". GNU. Retrieved 2009-06-25.
  5. ^ "Parallel Computing in Fortran with OpenMP".
  6. ^ "OpenMP (The GNU Fortran Compiler)".
  7. ^ "Discussion of incompatibilities between g77 and gfortran". GNU. Retrieved 2007-01-26.
  8. ^ "Extensions implemented in GNU Fortran (The GNU Fortran Compiler)".
  9. ^ "GCC 4.0 Release Series - GNU Project".
  10. ^ "GFORTRAN and G77 - the GNU Fortran 95 Compiler".
  11. ^ "Why I'm Stopping My G77 Work".
  12. ^ "The other GCC-based Fortran compiler". GNU. Retrieved 2007-04-11.
  13. ^ "GCC allows C++ – to some degree - the H Open: News and Features".

External links[edit]