From: Craig Burley <burley@tweedledumb.cygnus.com>
Subject: Re: g77's 8-byte record descriptor
Date: 1998/10/18 [thread overview]
Message-ID: <y6af2uroc5.fsf@tweedledumb.cygnus.com> (raw)
In-Reply-To: 708g69$g79@news.service.uci.edu
fliu@uci.edu (Feng Liu) writes:
> Toon Moene (mailto:toon@moene.indiv.nluug.nl) wrote:
>
> > We're unlikely to "repair" this, as that would mean that files produced
> by
> > g77-x.y.z would not be readable by g77-x.y.z+1, an even less preferable
> > situation.
>
> I would disagree with this! In our place, we have DEC machines with DEC's
> f77 and f90 under
> DEC unix, Intel machines with g77 under Linux, and Alpha PCs with g77
> under Linux. We share files through NFS. I must say that all my students
> and myself find it a nuisance to have to keep 2 copies of our data files
> in order to communicate. It is far easier and desirableto convert some old
> files once and for all rather than perpetuate the problem!
I think Toon meant, by "preferable", preferable for the general user
base of g77 on Alphas, not preferable for every single g77/Alpha user.
Also, I've already posted another, IMO rather important, reason to not go
back to 4-byte headers on Alphas, having to do with not crippling
writing large arrays using unformatted I/O just to default to
compatibility with ancient machines, like 32-bit Pentiums. :)
g77 really needs to offer (someday) better ways to select the formats
of data files than it currently does.
In the meantime, sites where inter-machine compatibility is important
(and achievable without bit-twiddling), it isn't really all that hard
to patch g77 specifically for those sites to achieve this effect.
E.g. I think there's already a macro in gcc/f/runtime/libI77 (UIOLEN_int
or some such thing), and in egcs/libf2c/libI77, that, when defined,
forces 4-byte headers (or equivalent).
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.org
next prev parent reply other threads:[~1998-10-18 4:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-15 4:00 g77's 8-byte record descriptor G. Hugh SONG
1998-10-15 4:00 ` Toon Moene
1998-10-15 4:00 ` Greg Lindahl
1998-10-16 4:00 ` Feng Liu
1998-10-18 4:00 ` Toon Moene
1998-10-18 4:00 ` Craig Burley [this message]
1998-10-16 4:00 ` Craig Burley
1998-10-18 4:00 ` Internal IO bug in g77? (was Re: g77's 8-byte record descriptor) G. Hugh SONG
1998-10-16 4:00 ` g77's 8-byte record descriptor Robert Corbett
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox