This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Suggestion for gfortran extension
- From: Paul Brook <paul at codesourcery dot com>
- To: Martin Reinecke <martin at MPA-Garching dot MPG dot DE>, fortran at gcc dot gnu dot org
- Date: Wed, 14 Jan 2004 12:10:29 +0000
- Subject: Re: Suggestion for gfortran extension
- Organization: CodeSourcery
- References: <40053004.5010407@mpa-garching.mpg.de>
On Wednesday 14 January 2004 12:03 pm, Martin Reinecke wrote:
> Hi,
>
> I would like to suggest an extension of gfortran, which allows
> access to the command line arguments in a Fortran executable.
>
> Most other Fortran90 compilers supply the function iargc()
> and the subroutine getarg() to achieve this, sometimes
> encapsulated in a module sometimes in Fortran77 fashion.
>
> For many of the existing Fortran codes this is a very important
> feature, and I guess it should not be very difficult to implement.
There is already partial support. The runtime library parts and possibly some
of the resolution is missing.
Patches to implement the missing bits are more than welcome;)
Paul