This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

g77/f77


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]