This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Fortran
- To: gcc at gcc dot gnu dot org
- Subject: Fortran
- From: Demas Ami <demmi at surfree dot com>
- Date: Wed, 19 Apr 2000 19:57:30 -0600
Dear Sir/Madam,
I'm new to linux. I tried to compile my fortran program using G77 and it
works. But when I run
the program, after I type the input file and the designated output file,
the program got aborted.
I already put the input file in the same directory as the program. My
program work in windows
using MS compiler.
I use the following sintax for open file:
open(unit=5, file='inputfile', status='new')
open(unit=6, file='output', status='unknown')
read(5,*)n ...........(something like this)
write(6,*) hf ........(something like this)
Is it impossible to write program in linux(g77) using the input file
and writing the output into fiel
Thank you for your kind attention and cooperation.
Best regards,
Suwito