This article needs to be updated. The reason given is: it already has better support for Fortran. Please help update this article to reflect recent events or newly available information. (January 2021) |
Developer(s) | GNU Project |
---|---|
Initial release | April 20, 2005; 19 years ago (2005-04-20) |
Stable release | 13.2 / 27 July 2023; 16 months ago (2023-07-27) |
Repository | |
Written in | C, C++ |
Operating system | Cross-platform |
Platform | GNU |
Type | Compiler |
License | GNU General Public License (version 3 or later) |
Website | gcc |
GNU Fortran (GFortran) is an implementation of the Fortran programming language in the GNU Compiler Collection (GCC), an open-source and free software project maintained in the open-source programmer community under the umbrella of the GNU Project. It is the successor to previous compiler versions in the suite, such as g77.
History
As of July 2020, GFortran had almost fully implemented Fortran 2008, and about 20% of Fortran 2018. It supports the OpenMP multi-platform shared memory multiprocessing, up to its latest version (4.5). GFortran is also compatible with most language extensions and compilation options supported by g77, and many other popular extensions of the Fortran language.
Since GCC version 4.0.0, released in April 2005, GFortran has replaced the older g77 compiler. The new Fortran front-end for GCC was rewritten from scratch, after the principal author and maintainer of g77, Craig Burley, decided in 2001 to stop working on the g77 front end. GFortran forked off from g95 in January 2003, which itself started in early 2000. The two codebases have "significantly diverged" according to GCC developers, and g95 has not been maintained since 2013. Since 2010 the front-end, like the rest of the GCC project, has been migrated to C++, where it was previously written in C. Development of the compiler by volunteer users continues and each new version of GCC incorporates better support for the latest language standards and bug fixes.
See also
References
- ^ "GCC Releases – GNU Project – Free Software Foundation (FSF)". GNU Project. Retrieved 2019-02-23.
- "GCC 13 Release Series - GNU Project - Free Software Foundation (FSF)". gcc.gnu.org. Retrieved 2023-09-11.
- "Chart of Fortran 2003 Features supported by GNU Fortran". GNU. Retrieved 2009-06-25.
- "Chart of Fortran 2008 Features supported by GNU Fortran". GNU. Retrieved 2009-06-25.
- "Parallel Computing in Fortran with OpenMP".
- "OpenMP (The GNU Fortran Compiler)".
- "Discussion of incompatibilities between g77 and gfortran". GNU. Retrieved 2007-01-26.
- "Extensions implemented in GNU Fortran (The GNU Fortran Compiler)".
- "GCC 4.0 Release Series - GNU Project".
- "GFORTRAN and G77 - the GNU Fortran 95 Compiler".
- "Why I'm Stopping My G77 Work".
- "The other GCC-based Fortran compiler". GNU. Retrieved 2007-04-11.
- "GCC allows C++ – to some degree - the H Open: News and Features".
- "Letter from GCC/gfortran contributor with a brief history". Fortran Discourse. 2023-02-12. Retrieved 2023-02-24.
External links
- Official website
- GFortran on the GCC Wiki
- The GFortran page of the Fortran Wiki.
- OpenMP in gfortran information web page Archived 2010-12-11 at the Wayback Machine