This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g77/f77
- To: gcc at gcc dot gnu dot org
- Subject: g77/f77
- From: Labao Lan <labaol at iri dot ldeo dot columbia dot edu>
- Date: Tue, 02 May 2000 16:13:52 -0400
I'm trying to port my Fortran codes from Dec/Unix to Linux box. I have
two problems with the GNU g77/f77.
1. GNU g77 doesn't take a convert syntax which looks like that:
open(unit=10,form='unformatted',status='old',file=infile,convert='BIG_ENDIAN')
or
open(unit=10,form='unformatted',status='old',file=infile,convert='ENDIAN')
2. GNU g77 doesn't take a readonly/writeonly syntax either.
open(unit=5,file=infile,status='old',readonly,form='formatted')
Could you give me some suggestions about how I can modify the open list
'convert' and 'readonly' or any g77/f77 options can help to pass the
compilation? Thanks.
Labao Lan