This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: Endianess and Fortran


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)


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