This article needs to beupdated. 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) |
| GNU Fortran | |
|---|---|
| Developer | GNU Project |
| Initial release | April 20, 2005; 20 years ago (2005-04-20)[1] |
| Stable release | |
| 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 theFortran programming language in theGNU Compiler Collection (GCC), anopen-source andfree software project maintained in the open-source programmer community under the umbrella of theGNU Project. It is the successor to previous compiler versions in the suite, such asg77.
As of July 2020, GFortran had almost fully implementedFortran 2008, and about 20% ofFortran 2018.[3][4] It supports theOpenMP[5]multi-platformshared memorymultiprocessing, 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 Fortranfront-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] GFortranforked off fromg95 in January 2003, which itself started in early 2000. The twocodebases have "significantly diverged" according to GCC developers,[12] and g95 has not been maintained since 2013. Since 2010 the front-end, like the rest of the GCC project, has been migrated toC++, where it was previously written inC.[13] Development of the compiler by volunteer users continues[14] and each new version of GCC incorporates better support for the latest language standards and bug fixes.