This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[RFC] Patch implementing EXECUTE_COMMAND_LINE
- From: FX <fxcoudert at gmail dot com>
- To: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 May 2009 00:07:18 +0200
- Subject: [RFC] Patch implementing EXECUTE_COMMAND_LINE
Hi all,
As you can see from my few emails today, I had a bit of free time and
needed something that would take me away from my day-to-day
programming, so I worked on gfortran a bit :)
Here's one patch that isn't in final state yet, but I probably won't
have time to submit it formally before a few weeks. It implements
EXECUTE_COMMAND_LINE, a new F2008 intrinsic that should replace the
old SYSTEM extension in user code. My patch comes with a complete
implementation, but no testcase and no doc. I tested it manually and
it seems to work OK. I'd be glad to have people build it on different
systems, though, at it uses some UNIX-specific stuff that I'm never
too sure to get right on the first time.
So, if someone has time (although I know it's unlikely) and want to
fly with it, please go ahead. Otherwise, I'll submit it formally when
I get time. In the meantime, any testing you can do (and report here)
will be of help.
Cheers,
FX
Attachment:
execute_command_line.diff
Description: Binary data