From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5594 invoked from network); 3 Apr 1998 17:54:49 -0000 Received: from mail.virginia.edu (128.143.2.9) by mail2.redhat.com with SMTP; 3 Apr 1998 17:54:49 -0000 Received: from ares.cs.virginia.edu by mail.virginia.edu id aa16351; 3 Apr 98 12:54 EST Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.27]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id MAA10068 for ; Fri, 3 Apr 1998 12:54:47 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.7.5/8.7.3) id MAA22833 for axp-list@redhat.com; Fri, 3 Apr 1998 12:54:46 -0500 (EST) Date: Fri, 3 Apr 1998 12:54:46 -0500 (EST) Message-Id: <199804031754.MAA22833@adder.cs.Virginia.EDU> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: axp-list@redhat.com Subject: Re: OFF-TOPIC: little-endian vs. big-endian conversion > > On the > > latest f2c libraries, it's 64 bits. You have to account for this. > > It depends when they are coming from. If they are from the current g77 > then f2c.h defines there, correctly I would argue, Fortran 'integer' > type as 'int' - i.e. 32 bits. The size of a Fortran integer is different from the size of the Fortran record length. The latest g77 for alphas (egcs) has these as 32 and 64 bits, respectively. I think the record length size should be settable per-file at runtime, but no one's done that yet. -- g