🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2272

Re: Q: Fortran unformatted i/o with GNU f2c/gcc problem.

#2272
From: drobinow
Date: Wed, 30 Sep 1998 00:00
21 lines
1808 bytes
In article <F02psK.Apn@midway.uchicago.edu>,
  metzler@oddjob.uchicago.edu (Chris Metzler) wrote:
> Anyway, I can use any help I can get.  I'm on a Red Hat Linux machine.
> It doesn't have full g77 installed -- f77 or g77 invokes an f2c
> preprocessor, followed by gcc.  Fortran programs compiled this way
> don't seem to be able to read Fortran unformatted binary files.
> ... [Details omitted]
> I'm a bit befuddled.  I suspect, as usual, the problem will be some
> simple thing I've missed, rather than a bug in f2c/gcc, but I don't
> know what it is at this point.  If anyone has any clue whatsoever,
> I can use the shove in the right direction.

 Fortran unformatted binary files are not generally portable across compilers
or architectures.  This has been the case for as long as I can remember and
has nothing to do with g77, gcc, or f2c.  Use formatted I/O for data
interchange.

David Robinow 287-42-5982

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
Technical Details
Message-ID: <6utka4$m9c$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <F02psK.Apn@midway.uchicago.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e0781954572e0423
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1025b4,e0781954572e0423
X-Google-Attributes: gid1025b4,public
From: drobinow@my-dejanews.com
Subject: Re: Q: Fortran unformatted i/o with GNU f2c/gcc problem.
Date: 1998/09/30
Message-ID: <6utka4$m9c$1@nnrp1.dejanews.com>
X-Deja-AN: 396348800
References: <F02psK.Apn@midway.uchicago.edu>
X-Http-Proxy: 1.0 x3.dejanews.com:80 (Squid/1.1.22) for client 129.48.133.103
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Wed Sep 30 15:03:08 1998 GMT
Newsgroups: gnu.misc.discuss,gnu.gcc.help
X-Http-User-Agent: Mozilla/4.06 (Macintosh; I; PPC)