GNU Fortran (GFortran) is an implementation of the
Fortran programming language in the
GNU Compiler Collection
The GNU Compiler Collection (GCC) is a collection of compilers from the GNU Project that support various programming languages, Computer architecture, hardware architectures, and operating systems. The Free Software Foundation (FSF) distributes ...
(GCC), an
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
and
free software
Free software, libre software, libreware sometimes known as freedom-respecting software is computer software distributed open-source license, under terms that allow users to run the software for any purpose as well as to study, change, distribut ...
project maintained in the open-source programmer community under the umbrella of the
GNU Project
The GNU Project ( ) is a free software, mass collaboration project announced by Richard Stallman on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and Computer hardware, computing dev ...
. 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
OpenMP is an application programming interface (API) that supports multi-platform shared-memory multiprocessing programming in C, C++, and Fortran, on many platforms, instruction-set architectures and operating systems, including Solaris, ...
multi-platform
Within computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several computing platforms. Some cross-platform softw ...
shared memory multiprocessing
Multiprocessing (MP) is the use of two or more central processing units (CPUs) within a single computer system. The term also refers to the ability of a system to support more than one processor or the ability to allocate tasks between them. The ...
, 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
codebase
In software development, a codebase (or code base) is a collection of source code used to build a particular software system, application, or software component. Typically, a codebase includes only human-written source code system files; thu ...
s 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
*
Cray pointer
*
Quadruple-precision floating-point format
In computing, quadruple precision (or quad precision) is a binary floating-point–based computer number format that occupies 16 bytes (128 bits) with precision at least twice the 53-bit double precision.
This 128-bit quadruple precision is des ...
*
Simply Fortran
References
External links
*
GFortran on the GCC Wiki* Th
GFortranpage of the Fortran Wiki.
OpenMP in gfortran information web page{{Webarchive, url=https://web.archive.org/web/20101211125359/http://sites.google.com/site/gfortransite/ , date=2010-12-11
Fortran compilers
Free and open source compilers
Fortran