Writing Big Endian Files With G77
Toon Moene
toon@moene.indiv.nluug.nl
Mon Feb 12 14:39:00 GMT 2001
Harald Dunkel wrote:
> I have stumbled over a portability problem on writing binary
> files. The Digital Research Fortran compiler seems to support
> something like
>
> CONVERT='BIG_ENDIAN'
>
> within an OPEN statement. Is there something similar for g77?
Unfortunately, no.
> Or is this bad code?
Well, it's non-standard; other than that, it has a well defined meaning
for those compilers that support it.
Kind regards,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
More information about the Gcc
mailing list