public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Endianess and Fortran
@ 2001-11-06  8:03 Hassan Aurag
  2001-11-06 15:09 ` Toon Moene
  0 siblings, 1 reply; 2+ messages in thread
From: Hassan Aurag @ 2001-11-06  8:03 UTC (permalink / raw)
  To: GCC Help Mailing List


 This is new to me. What are the things to watch when dealing with
porting Fortran programs from old big-endian machines to Linux on Intel?

 I heard EQUIVALENCE statements are a problem. What are the other things
to watch for?

 Any help or pointer to Fortran related issues is welcome.


 Thanks




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Endianess and Fortran
  2001-11-06  8:03 Endianess and Fortran Hassan Aurag
@ 2001-11-06 15:09 ` Toon Moene
  0 siblings, 0 replies; 2+ messages in thread
From: Toon Moene @ 2001-11-06 15:09 UTC (permalink / raw)
  To: Hassan Aurag; +Cc: GCC Help Mailing List

Hassan Aurag wrote:

>  This is new to me. What are the things to watch when dealing with
> porting Fortran programs from old big-endian machines to Linux on Intel?
> 
>  I heard EQUIVALENCE statements are a problem. What are the other things
> to watch for?
> 
>  Any help or pointer to Fortran related issues is welcome.

Well, it's hard to enumerate all the possible problems with switching to
a system with a different endianness than your original one.

There's one problem we *always* hear about:  It is not possible to read
unformatted files produced on your old system on your new system.

So transfer any needed data by writing it out as formatted data.

Hope this helps,

-- 
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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-16 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-06  8:03 Endianess and Fortran Hassan Aurag
2001-11-06 15:09 ` Toon Moene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).