This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
=?utf-8?B?5Zue5aSNOiBPbmUgcXVlc3Rpb24=?=
- To: "Dave Love" <d dot love at dl dot ac dot uk>
- Subject: =?utf-8?B?5Zue5aSNOiBPbmUgcXVlc3Rpb24=?=
- From: "zhumin" <zhumin at public1 dot ptt dot js dot cn>
- Date: Sun, 17 May 1998 08:04:30 +0800
- Cc: <egcs at cygnus dot com>
>I assume the question is about reading Fortran unformatted files
>written on another system by a program compiled with another compiler.
>In that case, the answer is that you can't in general do this, because
>the basic file format may be different, apart from the endianness of
>the data. Further, the g77 runtime doesn't have the ability to read
>unformatted data written by g77 with a different byte order.
>
>The recommended way to deal with binary data independent of compiler
>and hardware is to use a Fortran-callable portable binary format. HDF
>from NCSA is probably the one to go for. [The same sort of technique
>could be used by the g77 runtime for unformatted files, but isn't
>likely to be implemented any time soon.]
>
>Sorry, I'm at fault for not yet having written up this FAQ for the
>manual.
>
Dear Sir,
Your answer is what I want, thanks. By the way where I can get an
introduction or guide to g77 fortran compiler, and FAQ or the HDF from
NCSA you mentioned ?
so many thanks to others' replies
Zhu Min