gfortran & iargc/getarg
Thomas Veith
xtv@tveith.homelinux.com
Wed Apr 7 10:45:00 GMT 2004
On Wednesday 07 April 2004 00:41, Erik Schnetter wrote:
> On Wednesday 07 April 2004 00:07, Satish Balay wrote:
> > My next issue is command line argument processing support. Is there a
> > plan to add iargc()/getarg() or ipxfargc()/pxfgetarg() support into
> > gfortran?
>
> That should not be difficult. argc and argv are already saved at
> startup, and there is a routine get_args to access them. See the files
> fmain.c and runtime/main.c in the libgfortran directory.
Cause I also need this for a project, I am working on this.
iargc() is already done, at the weekend I will finish getarg()
If you can wait till sunday/monday, I will post the patches on the ml.
Regards,
Thomas
--
We the unwilling, led by the ungrateful, are doing the impossible.
We've done so much, for so long, with so little,
that we are now qualified to do something with nothing.
More information about the Fortran
mailing list