Next: GNU Fortran and GCC, Up: Introduction [Contents][Index]
The GNU Fortran compiler supports the Fortran 77, 90 and 95 standards completely, parts of the Fortran 2003 and Fortran 2008 standards, and several vendor extensions. The development goal is to provide the following features:
The compiler will also attempt to diagnose cases where the user’s program contains a correct usage of the language, but instructs the computer to do something questionable. This kind of diagnostics message is called a warning message.
gdb
).
The GNU Fortran compiler consists of several components:
gcc
command
(which also might be installed as the system’s cc
command)
that also understands and accepts Fortran source code.
The gcc
command is the driver program for
all the languages in the GNU Compiler Collection (GCC);
With gcc
,
you can compile the source code of any language for
which a front end is available in GCC.
gfortran
command itself,
which also might be installed as the
system’s f95
command.
gfortran
is just another driver program,
but specifically for the Fortran compiler only.
The difference with gcc
is that gfortran
will automatically link the correct libraries to your program.
gfortran
compilation phase,
such as intrinsic functions and subroutines,
and routines for interaction with files and the operating system.
f951
).
This is the GNU Fortran parser and code generator,
linked to and interfaced with the GCC backend library.
f951
“translates” the source code to
assembler code. You would typically not use this
program directly;
instead, the gcc
or gfortran
driver
programs will call it for you.
Next: GNU Fortran and GCC, Up: Introduction [Contents][Index]