This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New to gfortran


RadSurfer wrote:
> PDF's outlining all of the available gfortran
>    1) language reference and 
>    2) extensions
>   
There is no comprehensive language reference available for the GNU
Fortran Compiler, but all intrinsic procedures and extensions are listed
in the manual: http://gcc.gnu.org/onlinedocs/

For the language reference:
http://gcc.gnu.org/wiki/GFortranStandards
gfortran has (modulo bugs) implemented all of Fortran 95 and a bit of
Fortran 2003 (see manual for the implemented features).

> for example something that actually contains iargc, and getargs, etc., and
> something that might contain how to get file and especially directory information
> from inside a Fortran application which I can compile under gfortran.
>   
See intrinsics documentation in the manual (see above); additionally,
using the "system" intrinsic subroutine or using ISO C Bindings (see
Fortran 2003 standard) you can access (almost) any library function of
your system.

See also:
- http://en.wikipedia.org/wiki/Fortran_language_features

Real world examples (of different quality) can be found at:
   http://gcc.gnu.org/wiki/GfortranApps
(well, they are actually real-world programs and not examples ;-)

Otherwise, have a look around
http://dmoz.org/Computers/Programming/Languages/Fortran/

I can also recommend the book
Fortran 95/2003 Explained by Michael Metcalf, John Reid, and Malcolm Cohen
http://www.oup.com/uk/catalogue/?ci=9780198526933
available in many libraries and bookstores.

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]