From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7ef79818b92a9085 X-Google-Attributes: gid111c93,public From: Craig Burley Subject: Re: g77's 8-byte record descriptor Date: 1998/10/18 Message-ID: #1/1 X-Deja-AN: 402599297 References: <705m01$4rq$2@newnews.nl.uu.net> <708g69$g79@news.service.uci.edu> Organization: Cygnus Support Newsgroups: comp.os.linux.alpha 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