From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30034 invoked by alias); 16 Nov 2001 20:16:15 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 29983 invoked from network); 16 Nov 2001 20:16:11 -0000 Received: from unknown (HELO laptop.moene.indiv.nluug.nl) (195.109.255.217) by sourceware.cygnus.com with SMTP; 16 Nov 2001 20:16:11 -0000 Received: from local ([127.0.0.1] helo=moene.indiv.nluug.nl) by laptop.moene.indiv.nluug.nl with esmtp (Exim 3.12 #1 (Debian)) id 164pRt-0007oC-00; Fri, 16 Nov 2001 21:18:53 +0100 Message-ID: <3BF574AA.DCE48080@moene.indiv.nluug.nl> Date: Tue, 06 Nov 2001 15:09:00 -0000 From: Toon Moene Organization: Moene Computational Physics, Maartensdijk, The Netherlands X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: Hassan Aurag CC: GCC Help Mailing List Subject: Re: Endianess and Fortran References: <1005925116.21445.6.camel@l0553lnx> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00052.txt.bz2 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)