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]

Re: Writing Big Endian Files With G77


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)


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