Article View: gnu.gcc.help
Article #42788Re: -assume big_endian under g77?
From: Dave Love
Date: Mon, 23 Oct 1995 00:00
Date: Mon, 23 Oct 1995 00:00
20 lines
1483 bytes
1483 bytes
>>>>> On 18 Oct 1995 02:06:56 -0400, ron@frog.maths.monash.edu.au (Dr Ron W Cresswell) said: Ron> Hi. I don't know if this is the right place to send this query, Probably not. Ron> Under g77, I can't seem to find any option which is the Ron> equivalent of telling the compiler that an unformatted binary Ron> file to be read by the program will be in 'big-endian' format, There is no such facility. I think it's on my TODO list in the distribution but unlikely to get done at present. Ron> i.e. the exponent and matissa may be 'byteswapped'. Ron> I need this if I'm to plot cray output files under linux. Is Ron> such an option available? If so, what is it called? I'm not sure it's that simple in this case. I would investigate the approaches oft discussed on comp.lang.fortran using an appropriate library (e.g. XDR).
Technical Details
Message-ID:
<rzqspkkbd3k.fsf@dlpx1.dl.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<199510180602.QAA03444@frog.maths.monash.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,36ac4ac1eeed8613,start X-Google-Attributes: gid11318c,public From: Dave Love <d.love@dl.ac.uk> Subject: Re: -assume big_endian under g77? Date: 1995/10/23 Message-ID: <rzqspkkbd3k.fsf@dlpx1.dl.ac.uk> X-Deja-AN: 117997064 distribution: gnu sender: fx@dlpx1.dl.ac.uk references: <199510180602.QAA03444@frog.maths.monash.edu.au> to: ron@frog.maths.monash.edu.au (Dr Ron W Cresswell) x-plaque: Raised by Men of Liverpool for the Advancement of Learning organization: CCP4 project, Daresbury Laboratory, Warrington WA4 4AD, UK newsgroups: gnu.gcc.help