From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31183 invoked from network); 3 Apr 1998 17:51:22 -0000 Received: from ellpspace.math.ualberta.ca (michal@129.128.88.19) by mail2.redhat.com with SMTP; 3 Apr 1998 17:51:22 -0000 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.5/8.8.5) id KAA19078 for axp-list@redhat.com; Fri, 3 Apr 1998 10:51:27 -0700 From: Michal Jaegermann Message-Id: <199804031751.KAA19078@ellpspace.math.ualberta.ca> Subject: Re: OFF-TOPIC: little-endian vs. big-endian conversion To: axp-list@redhat.com Date: Fri, 3 Apr 1998 10:51:26 -0700 (MST) In-Reply-To: <199804031727.MAA21921@adder.cs.Virginia.EDU> from "Greg Lindahl" at Apr 3, 98 12:27:53 pm Content-Type: text > > 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. One has to be careful with that. An unfortunate result of living on a "bleeding edge". Defining 'integer' as 'long' in headers which came with 'f2c' tranlator is a bug resulting likely from an attempt to acommodate MS-DOS machines. I would do such conversion in question in Perl anyway. You are working too hard if you attempt to use anything else for the task. :-) Michal